From 5b3ea482f2f4dfcd2bf0e719ef22a16145aa2d7f Mon Sep 17 00:00:00 2001 From: JamesRamm Date: Sun, 3 Feb 2019 10:53:53 +0100 Subject: [PATCH] Use twin for distribution --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6eff398..9eb2a3e 100755 --- a/setup.py +++ b/setup.py @@ -54,8 +54,8 @@ if sys.argv[-1] == 'publish': except ImportError: print('Wheel library missing. Please run "pip install wheel"') sys.exit() - os.system('python setup.py sdist upload') - os.system('python setup.py bdist_wheel upload') + os.system('python setup.py sdist bdist_wheel') + os.system('python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*') sys.exit() if sys.argv[-1] == 'tag':