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

Version 0.12.0 installs tests directly into site-packages #134

Closed
frenzymadness opened this issue Mar 25, 2022 · 1 comment
Closed

Version 0.12.0 installs tests directly into site-packages #134

frenzymadness opened this issue Mar 25, 2022 · 1 comment

Comments

@frenzymadness
Copy link
Contributor

It seems that because tests folder is now a Python package (see the new __init__.py in d56a2de) the folder is included in the release. This means that the tests are also installed and they are installed directly into site-packages folder, which is not correct I'd say.

$ ls lib/python3.10/site-packages/tests 
conftest.py        test_core_functions.py     test_install.py            utils.py
__init__.py        test_datafiles_install.py  test_is_stale.py
__pycache__        test_datafiles_paths.py    test_main.py
test_build_api.py  test_deprecated.py         test_utility_functions.py

Is there any reason to have tests being a part of the released code? If so, would it make sense to move them somewhere else?

@blink1073
Copy link
Member

Fixed by #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants