Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
FastMoE
Commits
d99ae3f2
Commit
d99ae3f2
authored
Aug 19, 2024
by
zhanggezhong
Browse files
Update setup.py
parent
7561a8cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
setup.py
setup.py
+2
-0
No files found.
setup.py
View file @
d99ae3f2
...
...
@@ -51,6 +51,8 @@ cwd = os.path.dirname(os.path.abspath(__file__))
ver_path
=
os
.
path
.
join
(
cwd
,
"fmoe"
,
"__init__.py"
)
with
open
(
ver_path
,
'w'
)
as
f
:
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:
# f.write(f"__dcu_version__ = '{version}'\n")
# f.write(f"__dcu_version__ = '1.2.0+das.dtk{dtk_version}'\n")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment