-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
shell-gpt tests/*.py get installed to site-packages/tests - intentional or bug? #135
Comments
|
See also discussion in a downstream packager - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270542 Note that installing to site-packages/tests/ creates a real life conflict with another package - https://github.com/greenbone/notus-scanner It is possible the notus-scanner package is also mistaken in installing its test files to site-packages/tests as well. |
|
@jhgit Thank you for reporting this issue. Should be fixed in the lates release |
|
After removing |
|
I think using MANIFEST.in would do the job to get tests in the sdist (and not the bdist): |
|
@jhgit Thank you, shoud be fixed. |
The current setup.py uses find_packages(). In the current git repo, this finds tests as a package, and so includes tests as part of the bdist.
This winds up installing tests/*.py into /lib/pythonX.Y/site-packages/tests. Is this intentional that it installs tests specific to shell-gpt into a generically named 'tests' directory in site-packages?
Perhaps the bdist should not include the tests/*.py files?
The text was updated successfully, but these errors were encountered: