We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 641c2e0 commit 84a90cdCopy full SHA for 84a90cd
setup.py
100755
100644
@@ -1,9 +1,19 @@
1
import os
2
+import sys
3
from setuptools import setup
4
5
from django_hstore import get_version
6
7
8
+if sys.argv[-1] == 'publish':
9
+ os.system("python setup.py sdist bdist_wheel upload -s")
10
+ args = {'version': get_version()}
11
+ print("You probably want to also tag the version now:")
12
+ print(" git tag -a %(version)s -m 'version %(version)s'" % args)
13
+ print(" git push --tags")
14
+ sys.exit()
15
+
16
17
def get_packages(package):
18
"""
19
Return root package and all sub-packages.
0 commit comments