Commit 5cfe3114 authored by Philipp Arras's avatar Philipp Arras
Browse files

Increase version number

parent d0242bf5
Pipeline #25825 canceled with stage
in 5 minutes and 44 seconds
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
# 2) we can import it in setup.py for the same reason # 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module # 3) we can import it into your module module
__version__ = '3.9.0' __version__ = '4.0.0'
def gitversion(): def gitversion():
try: try:
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
def write_version(): def write_version():
import subprocess import subprocess
p = subprocess.Popen(["git", "describe", "--dirty"], p = subprocess.Popen(["git", "describe", "--dirty"],
...@@ -26,6 +27,7 @@ def write_version(): ...@@ -26,6 +27,7 @@ def write_version():
with open("nifty4/git_version.py", "w") as file: with open("nifty4/git_version.py", "w") as file:
file.write('gitversion = "{}"\n'.format(res)) file.write('gitversion = "{}"\n'.format(res))
write_version() write_version()
exec(open('nifty4/version.py').read()) exec(open('nifty4/version.py').read())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment