Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
727b403d
Commit
727b403d
authored
Aug 04, 2018
by
Martin Reinecke
Browse files
Merge remote-tracking branch 'origin/fix_gitversion' into redesign
parents
e2cbdb04
25f1b320
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
727b403d
...
...
@@ -21,7 +21,7 @@ from setuptools import find_packages, setup
def
write_version
():
import
subprocess
p
=
subprocess
.
Popen
([
"git"
,
"describe"
,
"--dirty"
,
"--tags"
],
p
=
subprocess
.
Popen
([
"git"
,
"describe"
,
"--dirty"
,
"--tags"
,
"--always"
],
stdout
=
subprocess
.
PIPE
)
res
=
p
.
communicate
()[
0
].
strip
().
decode
(
'utf-8'
)
with
open
(
"nifty5/git_version.py"
,
"w"
)
as
file
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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