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 93cc6aa commit 1685b78Copy full SHA for 1685b78
setup.py
@@ -6,9 +6,8 @@
6
import subprocess
7
8
9
-version=list(filter(None, subprocess.check_output("git tag -l | cat", shell=True).decode("utf-8").split("\n")))[-1]
10
-print(version)
11
-exit(0)
+tags = subprocess.check_output("git tag -l | cat", shell=True).decode("utf-8")
+version = list(filter(None, tags.split("\n")))[-1]
12
13
if sys.argv[-1] == 'publish':
14
if os.system("pip freeze | grep twine"):
0 commit comments