From ce8e4bf423b8ec995ca98b7aee5abce7a251bd7e Mon Sep 17 00:00:00 2001 From: Val Neekman Date: Sun, 25 Mar 2018 10:59:22 -0400 Subject: simplify publishing --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index af831a8..3e2a490 100755 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ if sys.argv[-1] == 'build': os.system("python setup.py sdist bdist_wheel") if sys.argv[-1] == 'publish': - os.system("twine upload dist/*") + os.system("python setup.py sdist upload") args = {'version': get_version(package)} print("You probably want to also tag the version now:") print(" git tag -a %(version)s -m 'version %(version)s' && git push --tags" % args) -- cgit v1.2.1