Commit 98e6c036 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'windows_nifty' into 'NIFTy_7'

Windows nifty

See merge request !655
parents 9f21053e bd809493
Pipeline #105181 passed with stages
in 33 minutes and 11 seconds
......@@ -16,6 +16,7 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from setuptools import find_packages, setup
import os
def write_version():
......@@ -27,7 +28,7 @@ def write_version():
except FileNotFoundError:
print("Could not determine version string from git history")
res = "unknown"
with open("nifty7/git_version.py", "w") as file:
with open(os.path.join("nifty7", "git_version.py"), "w") as file:
file.write('gitversion = "{}"\n'.format(res))
......
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