Tests are installed incorrectly
Closed this issue · 3 comments
QuLogic commented
The sdist correctly includes tests. However, if you build and install from the sdist, the tests are installed in .../site-packages/tests/
. This is at the top-level and the wrong place for such a generic package name. If installed, they should be in the xyzservices
directory, but probably you don't want to be installing them at all.
martinfleis commented
Do you have any idea why is that and how to fix it?
QuLogic commented
find_packages
finds everything with __init__.py
, and tests
has one. You need to pass exclude=['tests']
to ignore it (and possibly add an entry in MANIFEST.in
now so that the sdist continues to get tests.)
martinfleis commented
Closed by #97