Commit 37a95da5 authored by Jakob Roth's avatar Jakob Roth
Browse files

open scr/ instead of symlink nifty7/

parent dee5dfec
Pipeline #90954 passed with stages
in 11 minutes and 13 seconds
...@@ -23,12 +23,12 @@ def write_version(): ...@@ -23,12 +23,12 @@ def write_version():
p = subprocess.Popen(["git", "describe", "--dirty", "--tags", "--always"], p = subprocess.Popen(["git", "describe", "--dirty", "--tags", "--always"],
stdout=subprocess.PIPE) stdout=subprocess.PIPE)
res = p.communicate()[0].strip().decode('utf-8') res = p.communicate()[0].strip().decode('utf-8')
with open("nifty7/", "w") as file: with open("src/", "w") as file:
file.write('gitversion = "{}"\n'.format(res)) file.write('gitversion = "{}"\n'.format(res))
write_version() write_version()
exec(open('nifty7/').read()) exec(open('src/').read())
setup(name="nifty7", setup(name="nifty7",
version=__version__, version=__version__,
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