Show More
@@ -26,6 +26,8 b" _version_extra = 'dev'" | |||
|
26 | 26 | #_version_extra = 'rc1' |
|
27 | 27 | # _version_extra = '' # Uncomment this for full releases |
|
28 | 28 | |
|
29 | codename = 'An Afternoon Hack' | |
|
30 | ||
|
29 | 31 | # Construct full version string from these. |
|
30 | 32 | _ver = [_version_major, _version_minor, _version_patch] |
|
31 | 33 |
@@ -550,7 +550,9 b' gui_note = """\\' | |||
|
550 | 550 | default_banner_parts = [ |
|
551 | 551 | 'Python %s\n' % (sys.version.split('\n')[0],), |
|
552 | 552 | 'Type "copyright", "credits" or "license" for more information.\n\n', |
|
553 |
'IPython |
|
|
553 | 'IPython {version} -- An enhanced Interactive Python.\n'.format( | |
|
554 | version=release.version, | |
|
555 | ), | |
|
554 | 556 | quick_guide |
|
555 | 557 | ] |
|
556 | 558 |
@@ -82,6 +82,7 b' def pkg_info(pkg_path):' | |||
|
82 | 82 | return dict( |
|
83 | 83 | ipython_version=release.version, |
|
84 | 84 | ipython_path=pkg_path, |
|
85 | codename=release.codename, | |
|
85 | 86 | commit_source=src, |
|
86 | 87 | commit_hash=hsh, |
|
87 | 88 | sys_version=sys.version, |
@@ -89,9 +89,10 b' github_project_url = "https://github.com/ipython/ipython"' | |||
|
89 | 89 | # other places throughout the built documents. |
|
90 | 90 | # |
|
91 | 91 | # The full version, including alpha/beta/rc tags. |
|
92 |
|
|
|
93 | # The short X.Y version. | |
|
94 | version = '.'.join(release.split('.',2)[:2]) | |
|
92 | codename = iprelease['codename'] | |
|
93 | release = "%s: %s" % (iprelease['version'], codename) | |
|
94 | # Just the X.Y.Z part, no '-dev' | |
|
95 | version = iprelease['version'].split('-', 1)[0] | |
|
95 | 96 | |
|
96 | 97 | |
|
97 | 98 | # There are two options for replacing |today|: either, you set today to some |
General Comments 0
You need to be logged in to leave comments.
Login now