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
deepspeed
Commits
c3e434ae
Commit
c3e434ae
authored
Jun 14, 2022
by
aiss
Browse files
Update setup.py
parent
d335bffa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
setup.py
setup.py
+1
-0
No files found.
setup.py
View file @
c3e434ae
...
@@ -178,6 +178,7 @@ if command_exists('git') and 'DS_BUILD_STRING' not in os.environ:
...
@@ -178,6 +178,7 @@ if command_exists('git') and 'DS_BUILD_STRING' not in os.environ:
git_hash
=
result
.
decode
(
'utf-8'
).
strip
()
git_hash
=
result
.
decode
(
'utf-8'
).
strip
()
result
=
subprocess
.
check_output
(
git_branch_cmd
,
shell
=
True
)
result
=
subprocess
.
check_output
(
git_branch_cmd
,
shell
=
True
)
git_branch
=
result
.
decode
(
'utf-8'
).
strip
()
git_branch
=
result
.
decode
(
'utf-8'
).
strip
()
git_hash
+=
"dtk22.04"
except
subprocess
.
CalledProcessError
:
except
subprocess
.
CalledProcessError
:
git_hash
=
"unknown"
git_hash
=
"unknown"
git_branch
=
"unknown"
git_branch
=
"unknown"
...
...
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