Skip to content
Snippets Groups Projects
Commit 5cfe3114 authored by Philipp Arras's avatar Philipp Arras
Browse files

Increase version number

parent d0242bf5
No related branches found
No related tags found
1 merge request!229Create exact git version information in setup.py
Pipeline #
......@@ -3,7 +3,8 @@
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
__version__ = '3.9.0'
__version__ = '4.0.0'
def gitversion():
try:
......
......@@ -18,6 +18,7 @@
from setuptools import setup, find_packages
def write_version():
import subprocess
p = subprocess.Popen(["git", "describe", "--dirty"],
......@@ -26,6 +27,7 @@ def write_version():
with open("nifty4/git_version.py", "w") as file:
file.write('gitversion = "{}"\n'.format(res))
write_version()
exec(open('nifty4/version.py').read())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment