httmock icon indicating copy to clipboard operation
httmock copied to clipboard

Include tests in PyPI tarball

Open dotlambda opened this issue 7 years ago • 2 comments

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.

dotlambda avatar Nov 04 '18 14:11 dotlambda

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

patrys avatar Nov 04 '18 19:11 patrys

@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

koobs avatar Dec 18 '19 01:12 koobs