Show More
@@ -22,18 +22,16 b" name = 'ipython'" | |||||
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_micro = 0 # use 0 for first of series, number for 1 and above | |
25 | _version_extra = 'dev' |
|
25 | # _version_extra = 'dev' | |
26 |
|
|
26 | _version_extra = 'a1' | |
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] | |
31 |
if _version_ |
|
31 | if _version_extra != 'dev': | |
32 | _ver.append(_version_micro) |
|
32 | _ver.append(_version_micro) | |
33 | if _version_extra: |
|
|||
34 | _ver.append(_version_extra) |
|
|||
35 |
|
33 | |||
36 | __version__ = '.'.join(map(str, _ver)) |
|
34 | __version__ = '.'.join(map(str, _ver)) + _version_extra | |
37 |
|
35 | |||
38 | version = __version__ # backwards compatibility name |
|
36 | version = __version__ # backwards compatibility name | |
39 | version_info = (_version_major, _version_minor, _version_micro, _version_extra) |
|
37 | version_info = (_version_major, _version_minor, _version_micro, _version_extra) |
General Comments 0
You need to be logged in to leave comments.
Login now