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 distributions #253

Merged
merged 1 commit into from
Jun 10, 2018
Merged

Conversation

sbraz
Copy link
Contributor

@sbraz sbraz commented May 27, 2018

Hi, the tests are currently not included in the PyPI tarballs, this PR fixes that.

@coveralls
Copy link

coveralls commented May 27, 2018

Coverage Status

Coverage remained the same at 92.759% when pulling be391c8 on sbraz:manifest into b082f48 on graphite-project:master.

@deniszh
Copy link
Member

deniszh commented May 27, 2018

Hello @sbraz ,
Thanks! But, out of curiosity - why did you make this change?

@sbraz
Copy link
Contributor Author

sbraz commented May 27, 2018

To make it possible to run tests from the PyPI tarballs which are usually cleaner than GitHub's.

Gentoo always uses PyPI tarballs over GitHub whenever possible, and I'm pretty sure that's the case for Debian too. I can probably find similar PRs in other projects if you're interested.

@deniszh
Copy link
Member

deniszh commented May 27, 2018

No need, thanks! I'm not against it, just curious. :)

@deniszh deniszh requested review from iksaif and DanCech May 27, 2018 14:36
@sbraz
Copy link
Contributor Author

sbraz commented May 27, 2018

@deniszh I don't know what Python version you use to deploy new releases but you should make sure that everything is included in the MANIFEST. On my system, with Python 3.6, I got the same files as in PyPI's 1.1.3 release, with just the tests added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants