Commit d99ae3f2 authored by zhanggezhong's avatar zhanggezhong
Browse files

Update setup.py

parent 7561a8cb
...@@ -51,6 +51,8 @@ cwd = os.path.dirname(os.path.abspath(__file__)) ...@@ -51,6 +51,8 @@ cwd = os.path.dirname(os.path.abspath(__file__))
ver_path = os.path.join(cwd, "fmoe", "__init__.py") ver_path = os.path.join(cwd, "fmoe", "__init__.py")
with open(ver_path, 'w') as f: with open(ver_path, 'w') as f:
f.write("__version__ = '1.2.0'\n") f.write("__version__ = '1.2.0'\n")
version = '1.2.0' + '+das.dtk' + dtk_version
f.write(f"__dcu_version__ = '{version}'\n")
#with open(version_path, "w") as f: #with open(version_path, "w") as f:
# f.write(f"__dcu_version__ = '{version}'\n") # f.write(f"__dcu_version__ = '{version}'\n")
# f.write(f"__dcu_version__ = '1.2.0+das.dtk{dtk_version}'\n") # f.write(f"__dcu_version__ = '1.2.0+das.dtk{dtk_version}'\n")
......
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