-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove tests from the wheel and simplify setup.py. #746
Conversation
Wheel before
Wheel after
Note that the source dist still contains:
|
Thanks for putting this together. The lint build is failing, but I'm not convinced the failure is related to your changes. |
@markstory I recall there was an issue with discussion in the past. I think these tests are used in Debian package or something like for autotests |
Ah good to check, but I would expect that is the source distribution which does still have tests. |
It needed a one-line adjustment to the Debian package to run the tests from the source tree rather than assuming they'd be in the built tree, but that was trivial enough and I've done it now. |
@cjwatson paths are crossing again :D |
Remove the tests/ directory from the wheel distribution of
responses
. Wheels are intended to be a production release containing no tests.Update setup.py removing
include_package_data
arg, which causes the wheel to contain the tests. Add a pyproject.toml with setup requires and a build backend. Remove references to the deprecated test command of setup tools.