Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
5cfe3114
Commit
5cfe3114
authored
Mar 07, 2018
by
Philipp Arras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase version number
parent
d0242bf5
Pipeline
#25825
canceled with stage
in 5 minutes and 44 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
nifty4/version.py
nifty4/version.py
+2
-1
setup.py
setup.py
+2
-0
No files found.
nifty4/version.py
View file @
5cfe3114
...
...
@@ -3,7 +3,8 @@
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
__version__
=
'3.9.0'
__version__
=
'4.0.0'
def
gitversion
():
try
:
...
...
setup.py
View file @
5cfe3114
...
...
@@ -18,6 +18,7 @@
from
setuptools
import
setup
,
find_packages
def
write_version
():
import
subprocess
p
=
subprocess
.
Popen
([
"git"
,
"describe"
,
"--dirty"
],
...
...
@@ -26,6 +27,7 @@ def write_version():
with
open
(
"nifty4/git_version.py"
,
"w"
)
as
file
:
file
.
write
(
'gitversion = "{}"
\n
'
.
format
(
res
))
write_version
()
exec
(
open
(
'nifty4/version.py'
).
read
())
...
...
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