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

freezegun installs a tests module. #27

Closed
lukesneeringer opened this issue Dec 19, 2013 · 2 comments · Fixed by #80
Closed

freezegun installs a tests module. #27

lukesneeringer opened this issue Dec 19, 2013 · 2 comments · Fixed by #80

Comments

@lukesneeringer
Copy link

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.

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:

    provides=[
        'freezegun',
    ],
    packages=[i for i in find_packages() if i.startswith('freezegun')],
@spulec
Copy link
Owner

spulec commented Dec 19, 2013

Thanks Luke. Just pushed a commit to fix this and pushed out a new release (0.1.11).

@spulec spulec closed this as completed Dec 19, 2013
@lukesneeringer
Copy link
Author

Thanks! :)

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

Successfully merging a pull request may close this issue.

2 participants