[ https://issues.apache.org/jira/browse/SLIDER-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved SLIDER-1039. -------------------------------- Resolution: Fixed Verified that we don't have any more {{*.pyc}} files hanging around outside of {{target/}}. I don't have a windows box set up to verify that everything still works as intended, but I did try to double-check that the path updates for Windows are properly configured. > Run slider-agent (py)tests from target directory not src directory > ------------------------------------------------------------------ > > Key: SLIDER-1039 > URL: https://issues.apache.org/jira/browse/SLIDER-1039 > Project: Slider > Issue Type: Improvement > Components: build > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: Slider 0.91 > > > I had to -1 the slider-0.90.2-incubating RC0 build because I saw a bunch of > pyc files in the source archive. > Upon investigation on how these got there, it seems like the pytests that we > run for the slider-agent module are invoked inside the src/ directory. > We should really follow the same approach that is done for the Java files: > * Compilation from src into target (just a copy for python) > * Invocation of tests from inside target > This should net us two things: > * A build does not dirty the workspace (lots of ways this is good) > * We can remove the {{*.pyc}} entry from {{.gitignore}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)