From 92a6da7e2b8dee66697029da75f4fc9ffd2594ea Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sun, 11 Mar 2018 15:41:53 -0400 Subject: [PATCH] Make release process more secure with twine --- Makefile | 4 ++-- requirements_dev.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4bee6d1..3448ba7 100644 --- a/Makefile +++ b/Makefile @@ -75,8 +75,8 @@ servedocs: docs ## compile the docs watching for changes watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D . release: clean ## package and upload a release - python setup.py sdist upload - python setup.py bdist_wheel upload + python setup.py sdist bdist_wheel + twine upload dist/* dist: clean ## builds source and wheel package python setup.py sdist diff --git a/requirements_dev.txt b/requirements_dev.txt index cb408ee..b9e92c9 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -11,3 +11,4 @@ PyYAML==3.12 pytest==3.4.2 pytest-runner==4.0 vcrpy==1.11.1 +twine==1.10.0