File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
_version_major = 0
11
11
_version_minor = 11
12
12
_version_micro = 0
13
- _version_extra = ''
13
+ _version_extra = '' # switch to -dev for non release
14
14
15
15
def get_nipype_gitversion ():
16
16
"""Nipype version as reported by the last commit in git
@@ -41,13 +41,13 @@ def get_nipype_gitversion():
41
41
ver = o .strip ().split ('-' )[- 1 ]
42
42
return ver
43
43
44
- if 'dev' in _version_extra :
44
+ if '- dev' in _version_extra :
45
45
gitversion = get_nipype_gitversion ()
46
46
if gitversion :
47
- _version_extra = gitversion + '.dev'
47
+ _version_extra = '-' + gitversion + '.dev'
48
48
49
49
# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
50
- __version__ = "%s.%s.%s- %s" % (_version_major ,
50
+ __version__ = "%s.%s.%s%s" % (_version_major ,
51
51
_version_minor ,
52
52
_version_micro ,
53
53
_version_extra )
You can’t perform that action at this time.
0 commit comments