##// END OF EJS Templates
semantic-versionify version number for non-releases...
MinRK -
Show More
@@ -21,20 +21,20 b" name = 'ipython'"
21 # version
21 # version
22 _version_major = 1
22 _version_major = 1
23 _version_minor = 0
23 _version_minor = 0
24 _version_micro = 0 # use 0 for first of series, number for 1 and above
24 _version_patch = 0
25 _version_extra = 'dev'
25 _version_extra = 'dev'
26 #_version_extra = 'rc1'
26 #_version_extra = 'rc1'
27 # _version_extra = '' # Uncomment this for full releases
27 # _version_extra = '' # Uncomment this for full releases
28
28
29 # Construct full version string from these.
29 # Construct full version string from these.
30 _ver = [_version_major, _version_minor]
30 _ver = [_version_major, _version_minor, _version_patch]
31 if _version_extra != 'dev':
32 _ver.append(_version_micro)
33
31
34 __version__ = '.'.join(map(str, _ver)) + _version_extra
32 __version__ = '.'.join(map(str, _ver))
33 if _version_extra:
34 __version__ = __version__ + '-' + _version_extra
35
35
36 version = __version__ # backwards compatibility name
36 version = __version__ # backwards compatibility name
37 version_info = (_version_major, _version_minor, _version_micro, _version_extra)
37 version_info = (_version_major, _version_minor, _version_patch, _version_extra)
38
38
39 # Change this when incrementing the kernel protocol version
39 # Change this when incrementing the kernel protocol version
40 kernel_protocol_version_info = (4, 0)
40 kernel_protocol_version_info = (4, 0)
General Comments 0
You need to be logged in to leave comments. Login now