We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tests
When installing freezegun with pip install freezegun, there seems to be a side effect, which is that it installs its tests into site-packages as well.
freezegun
pip install freezegun
This can have a negative effect for tests in a tests/ directory that need to import from other modules under said directory.
tests/
I assert that packages=find_packages(), in setup.py should change to:
packages=find_packages(),
provides=[ 'freezegun', ], packages=[i for i in find_packages() if i.startswith('freezegun')],
The text was updated successfully, but these errors were encountered:
Thanks Luke. Just pushed a commit to fix this and pushed out a new release (0.1.11).
Sorry, something went wrong.
Thanks! :)
Include the tests in the releases but do not install them
819df87
Fixes spulec#75 Fixes spulec#27
Successfully merging a pull request may close this issue.
When installing
freezegun
withpip install freezegun
, there seems to be a side effect, which is that it installs its tests into site-packages as well.This can have a negative effect for tests in a
tests/
directory that need to import from other modules under said directory.I assert that
packages=find_packages(),
in setup.py should change to:The text was updated successfully, but these errors were encountered: