summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVal Neekman <val@neekware.com>2018-03-25 10:59:22 -0400
committerVal Neekman <val@neekware.com>2018-03-25 10:59:22 -0400
commitce8e4bf423b8ec995ca98b7aee5abce7a251bd7e (patch)
tree7376c709a484de8ceb8238257b3c9b520b644d07
parent8e360aed732fb0c902e78885c4be89e4048a2d2d (diff)
downloadpython-slugify-ce8e4bf423b8ec995ca98b7aee5abce7a251bd7e.tar.gz
simplify publishing
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
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)