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

Deploy only a wheel to PyPI #87

Merged
merged 1 commit into from
Nov 12, 2017
Merged

Deploy only a wheel to PyPI #87

merged 1 commit into from
Nov 12, 2017

Conversation

ryanhiebert
Copy link
Collaborator

The only gotcha I can think of for this is if somehow it's running on a really old version of pip. But I think that should be a non-issue on Travis. If it is an issue, I would expect us to have already seen it, since we are installing wheels in every job anyway.

Don't gitignore the build and dist directories, so that Travis will
clean them before it works on the deployment.

Don't install an automatically generated egg while creating the wheel.

Only upload wheels to PyPI, and since we're doing that, only run the
tests once, with the wheel, and skip the test run with the sdist
(the Tox default).
@codecov-io
Copy link

codecov-io commented Nov 12, 2017

Codecov Report

Merging #87 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #87   +/-   ##
=======================================
  Coverage   88.88%   88.88%           
=======================================
  Files           5        5           
  Lines         207      207           
  Branches       47       47           
=======================================
  Hits          184      184           
  Misses         19       19           
  Partials        4        4

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b92af3...b5eb4a5. Read the comment docs.

@ryanhiebert
Copy link
Collaborator Author

A review by @rpkilby or @jayvdb would still be very much appreciated, but I'm going to go ahead and merge this PR, as well as a couple more that are in the works, for the purpose of getting a release out.

@ryanhiebert ryanhiebert merged commit 248b04f into master Nov 12, 2017
@ryanhiebert ryanhiebert deleted the pypi-wheel-only branch November 12, 2017 05:59
Copy link
Member

@rpkilby rpkilby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the nature of the package, I don't see the benefit of including an sdist.

👍

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.

3 participants