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 64ae112 commit cd9b894Copy full SHA for cd9b894
setup.py
@@ -3,6 +3,10 @@
3
import setuptools
4
import os
5
import sys
6
+import subprocess
7
+
8
9
+version=subprocess.check_output("git tag -l | cat | rev", shell=True).decode("utf-8").split("\n")[0]
10
11
if sys.argv[-1] == 'publish':
12
if os.system("pip freeze | grep twine"):
@@ -23,7 +27,7 @@
23
27
24
28
setuptools.setup(
25
29
name="nested-multipart-parser",
26
- version="0.2.0",
30
+ version=version,
31
author="Example Author",
32
license='MIT',
33
author_email='contact@germainremi.fr',
0 commit comments