Skip to content

Use twine to upload to pypi. #2527

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

Merged
merged 4 commits into from
Feb 6, 2015

Conversation

xordoquy
Copy link
Collaborator

@xordoquy xordoquy commented Feb 6, 2015

As explained on the twine page (https://pypi.python.org/pypi/twine):

The biggest reason to use twine is that python setup.py upload authenticates you to PyPI over http. This means anytime you use it you expose your username and password to being sniffed. Twine uses only verified TLS to upload to PyPI protecting your credentials from theft.

By using twine, we'll make the upload process more secure.

@tomchristie
Copy link
Member

Okay, you can add it to the requirements.txt in the same section as wheel, also a brief link/explanation comment would be worthwhile.

As an aside, we're getting close to being able to roll 3.1.0, so I think a 3.0.5 release is in order whenever you fancy it (in particular as it fixes the broken caching issue)

@xordoquy
Copy link
Collaborator Author

xordoquy commented Feb 6, 2015

@thedrow I doubt one of us is willing to add its pypi credentials in clear somewhere.

Edit: Damn autocorrect !

@xordoquy
Copy link
Collaborator Author

xordoquy commented Feb 6, 2015

Interesting.

@tomchristie
Copy link
Member

This looks good to me now.

tomchristie added a commit that referenced this pull request Feb 6, 2015
@tomchristie tomchristie merged commit 0e4d202 into encode:master Feb 6, 2015
@xordoquy xordoquy deleted the feature/secured_pypi_upload branch February 9, 2015 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants