Commit 5d26f555 authored by Viktoria Kainz's avatar Viktoria Kainz
Browse files

windows compatible path

parent 9ffd859f
Pipeline #104299 passed with stages
in 15 minutes and 17 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/", "w") as file:
with open(os.path.join("nifty7",""), "w") as file:
file.write('gitversion = "{}"\n'.format(res))
Supports Markdown
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