We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d626f7e commit fa441faCopy full SHA for fa441fa
setup.py
@@ -1,5 +1,6 @@
1
#!/usr/bin/env python
2
import os
3
+import sys
4
import re
5
from setuptools import setup
6
@@ -18,6 +19,15 @@ def get_version(package):
18
19
long_description = readme.read()
20
21
22
+if sys.argv[-1] == 'publish':
23
+ os.system("python setup.py sdist upload")
24
+ os.system("python setup.py bdist_wheel upload")
25
+ print("You probably want to also tag the version now:")
26
+ print(" git tag -a %s -m 'version %s'" % (version, version))
27
+ print(" git push --tags")
28
+ sys.exit()
29
+
30
31
setup(
32
name='PyJWT',
33
version=version,
0 commit comments