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

Include tests in PyPI tarball #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dotlambda
Copy link

This is useful for downstream distributions to test if the package works correctly with their build recipe. Also, it provides a way to test if the dependencies as they are packaged by the distribution are compatible.

@patrys
Copy link
Owner

patrys commented Nov 4, 2018

I think it would be better to make httmock a module and put tests there to avoid polluting the python namespace.

@koobs
Copy link
Contributor

koobs commented Dec 18, 2019

@patrys Alternatively, one can exclude tests.by with find_packages [1] which many projects use, but making httpmock a module and putting tests inside that is the more robust option.

[1] https://setuptools.readthedocs.io/en/latest/setuptools.html#using-find-packages

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 this pull request may close these issues.

None yet

3 participants