summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorVal Neekman <val@neekware.com>2021-05-05 19:38:59 -0400
committerVal Neekman <val@neekware.com>2021-05-05 19:38:59 -0400
commit937779c77420f4acb8acd775bc2c35ed94f1393d (patch)
treeb24a2d38c3956dff2234d9ac8afc1106251ac251 /setup.py
parentb9b6a9712b6ece99d70ddfe623cf9236ecba945f (diff)
downloadpython-slugify-937779c77420f4acb8acd775bc2c35ed94f1393d.tar.gz
switch to twine for pushing to pypi5.0.2
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 6745006..51b267f 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ if sys.argv[-1] == 'build':
os.system("python setup.py sdist bdist_wheel")
if sys.argv[-1] == 'publish':
- os.system("python setup.py sdist upload")
+ os.system("python setup.py build && twine upload dist/*")
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)