-
Notifications
You must be signed in to change notification settings - Fork 910
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
Install error: "The following unexpected files/directories were found top-level in the site-packages directory: /usr/lib/python3.11/site-packages/tests" #382
Comments
On which Linux? Using which command? Could you paste the full terminal output including what you executed? |
Gentoo Linux, trying to make this ebuild work. This is the beginning of the logs:
|
...end of logs:
|
I don't know neither python nor gentoo well enough to tell if this is a "bug" in setup.cfg or how gentoo packages mvt. There are other projects that also complain if tests are excluded from the pypi upload, so it should be excluded from the wheel, but not from whatever pypi is using. |
Its me, trying to package it. |
I am not sure I understand the problem here, is it that the tests folder is included in the pip package? |
On Linux.
Related documentation about how to resolve it https://projects.gentoo.org/python/guide/qawarn.html#example-for-test-packages-installed-by-setuptools
The text was updated successfully, but these errors were encountered: