storm-0.20 installs tests directory in site-packages

Bug #1199578 reported by Mike Gilbert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Storm
Fix Released
High
Colin Watson

Bug Description

There is no reason to install the tests directory, and doing so can actually cause package manager file conflicts if multiple packages do so.

See patch for an easy solution.

Related branches

Revision history for this message
Mike Gilbert (floppym) wrote :
Revision history for this message
Aurélien Bompard (abompard) wrote :

Actually you need to exclude the submodules of the tests module too, so the line should be:

packages=find_packages(exclude=['tests', 'tests.*'])

Revision history for this message
Colin Watson (cjwatson) wrote :

I agree that the current behaviour is annoying. Installing tests (in a better place!) is often handy so that you can do as-installed tests, though, and many Python packages do so. IMO the best thing to do here would instead be to move the tests to a storm.tests package so that they won't conflict with anything else.

Changed in storm:
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → In Progress
Colin Watson (cjwatson)
Changed in storm:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
Changed in storm:
milestone: none → 0.21
Colin Watson (cjwatson)
Changed in storm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.