From 016f48d17ddf549955f2baea0c6dd32fefdbd5a8 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Wed, 6 Jun 2018 19:35:31 -0600 Subject: [PATCH] Use twine for pypi uploading per packaging docs See here: https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives --- Makefile | 3 ++- setup.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b93655c..db660371 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,8 @@ release: clean git config commit.gpgSign true bumpversion $(bump) git push upstream && git push upstream --tags - python setup.py sdist bdist_wheel upload + python setup.py sdist bdist_wheel + twine upload dist/* git config commit.gpgSign "$(CURRENT_SIGN_SETTING)" dist: clean diff --git a/setup.py b/setup.py index 55b3c90c..511490f1 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ extras_require = { "bumpversion>=0.5.3,<1", "pytest-watch>=4.1.0,<5", "wheel", + "twine", "ipython", ], }