Skip to content
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

packaging issue: deployment of tests #102

Open
noraj opened this issue May 7, 2023 · 0 comments · May be fixed by #103
Open

packaging issue: deployment of tests #102

noraj opened this issue May 7, 2023 · 0 comments · May be fixed by #103
Labels
bug Something isn't working

Comments

@noraj
Copy link

noraj commented May 7, 2023

Describe the bug

The issue is that the setup.py is deploying the tests folder under the root python path and not under this package one.

So it's end up under /usr/lib/python3.11/site-packages/tests rather than /usr/lib/python3.11/site-packages/myjwt/tests and so conflicts with other packages having the same issue.

Anyway usually test are not shipped in a release package so the easiest would just to remove them. Else they should be deployed in the children directory.

It's explained in ArchLinux packaging guidelines for Python: https://wiki.archlinux.org/title/Python_package_guidelines#Test_directory_in_site-package

@noraj noraj added the bug Something isn't working label May 7, 2023
noraj added a commit to noraj/MyJWT that referenced this issue May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant