File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010_version_major = 0
1111_version_minor = 11
1212_version_micro = 0
13- _version_extra = ''
13+ _version_extra = '' # switch to -dev for non release
1414
1515def get_nipype_gitversion ():
1616 """Nipype version as reported by the last commit in git
@@ -41,13 +41,13 @@ def get_nipype_gitversion():
4141 ver = o .strip ().split ('-' )[- 1 ]
4242 return ver
4343
44- if 'dev' in _version_extra :
44+ if '- dev' in _version_extra :
4545 gitversion = get_nipype_gitversion ()
4646 if gitversion :
47- _version_extra = gitversion + '.dev'
47+ _version_extra = '-' + gitversion + '.dev'
4848
4949# 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 ,
5151 _version_minor ,
5252 _version_micro ,
5353 _version_extra )
You can’t perform that action at this time.
0 commit comments