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 #31

Merged
merged 1 commit into from
Sep 25, 2018
Merged

Include tests in PyPI tarball #31

merged 1 commit into from
Sep 25, 2018

Conversation

dotlambda
Copy link
Contributor

@dotlambda dotlambda commented Sep 11, 2018

This e.g. allows downstream distributions to use your test suite as integration tests.

Fixes #32

@keis
Copy link
Owner

keis commented Sep 18, 2018

Hey,

Could you help me understand what the specific use you have this? In general this not a very common practice and including it in the manifest like this don't mean it will get installed with pip so you wouldn't really see this file anyway. That may be a good thing though as this is packaged as a plain module and the tests would be another top-level module which is kinda silly.

@keis keis changed the title Include tests in PyPI tarball Include tests in PyPI tarball #32 Sep 18, 2018
@keis keis changed the title Include tests in PyPI tarball #32 Include tests in PyPI tarball Sep 18, 2018
@nyanloutre
Copy link

My specific use case is for packaging into NixOS. For now I used the GitHub URL, but a PyPI URL would be more stable as it doesn't include a username.

@keis
Copy link
Owner

keis commented Sep 25, 2018

hmm ok, makes sense

@keis keis merged commit 5ff4307 into keis:master Sep 25, 2018
@keis
Copy link
Owner

keis commented Sep 25, 2018

Thanks for the PR, new tarball with tests included published as version 1.0.1

@nyanloutre
Copy link

Thanks !

dannywillems pushed a commit to dannywillems/base58 that referenced this pull request Mar 12, 2019
Include tests in PyPI tarball
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