Show More
@@ -1,119 +1,119 b'' | |||||
1 | # -*- coding: utf-8 -*- |
|
1 | # -*- coding: utf-8 -*- | |
2 | """Release data for the IPython project.""" |
|
2 | """Release data for the IPython project.""" | |
3 |
|
3 | |||
4 | #----------------------------------------------------------------------------- |
|
4 | #----------------------------------------------------------------------------- | |
5 | # Copyright (c) 2008, IPython Development Team. |
|
5 | # Copyright (c) 2008, IPython Development Team. | |
6 | # Copyright (c) 2001, Fernando Perez <fernando.perez@colorado.edu> |
|
6 | # Copyright (c) 2001, Fernando Perez <fernando.perez@colorado.edu> | |
7 | # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de> |
|
7 | # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de> | |
8 | # Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu> |
|
8 | # Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu> | |
9 | # |
|
9 | # | |
10 | # Distributed under the terms of the Modified BSD License. |
|
10 | # Distributed under the terms of the Modified BSD License. | |
11 | # |
|
11 | # | |
12 | # The full license is in the file COPYING.txt, distributed with this software. |
|
12 | # The full license is in the file COPYING.txt, distributed with this software. | |
13 | #----------------------------------------------------------------------------- |
|
13 | #----------------------------------------------------------------------------- | |
14 |
|
14 | |||
15 | # Name of the package for release purposes. This is the name which labels |
|
15 | # Name of the package for release purposes. This is the name which labels | |
16 | # the tarballs and RPMs made by distutils, so it's best to lowercase it. |
|
16 | # the tarballs and RPMs made by distutils, so it's best to lowercase it. | |
17 | name = 'ipython' |
|
17 | name = 'ipython' | |
18 |
|
18 | |||
19 | # IPython version information. An empty _version_extra corresponds to a full |
|
19 | # IPython version information. An empty _version_extra corresponds to a full | |
20 | # release. 'dev' as a _version_extra string means this is a development |
|
20 | # release. 'dev' as a _version_extra string means this is a development | |
21 | # version |
|
21 | # version | |
22 | _version_major = 7 |
|
22 | _version_major = 7 | |
23 | _version_minor = 7 |
|
23 | _version_minor = 7 | |
24 | _version_patch = 0 |
|
24 | _version_patch = 0 | |
25 | _version_extra = '.dev' |
|
25 | _version_extra = '.dev' | |
26 | # _version_extra = 'b1' |
|
26 | # _version_extra = 'b1' | |
27 |
|
|
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, _version_patch] |
|
30 | _ver = [_version_major, _version_minor, _version_patch] | |
31 |
|
31 | |||
32 | __version__ = '.'.join(map(str, _ver)) |
|
32 | __version__ = '.'.join(map(str, _ver)) | |
33 | if _version_extra: |
|
33 | if _version_extra: | |
34 | __version__ = __version__ + _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_patch, _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 = (5, 0) |
|
40 | kernel_protocol_version_info = (5, 0) | |
41 | kernel_protocol_version = "%i.%i" % kernel_protocol_version_info |
|
41 | kernel_protocol_version = "%i.%i" % kernel_protocol_version_info | |
42 |
|
42 | |||
43 | description = "IPython: Productive Interactive Computing" |
|
43 | description = "IPython: Productive Interactive Computing" | |
44 |
|
44 | |||
45 | long_description = \ |
|
45 | long_description = \ | |
46 | """ |
|
46 | """ | |
47 | IPython provides a rich toolkit to help you make the most out of using Python |
|
47 | IPython provides a rich toolkit to help you make the most out of using Python | |
48 | interactively. Its main components are: |
|
48 | interactively. Its main components are: | |
49 |
|
49 | |||
50 | * A powerful interactive Python shell |
|
50 | * A powerful interactive Python shell | |
51 | * A `Jupyter <https://jupyter.org/>`_ kernel to work with Python code in Jupyter |
|
51 | * A `Jupyter <https://jupyter.org/>`_ kernel to work with Python code in Jupyter | |
52 | notebooks and other interactive frontends. |
|
52 | notebooks and other interactive frontends. | |
53 |
|
53 | |||
54 | The enhanced interactive Python shells have the following main features: |
|
54 | The enhanced interactive Python shells have the following main features: | |
55 |
|
55 | |||
56 | * Comprehensive object introspection. |
|
56 | * Comprehensive object introspection. | |
57 |
|
57 | |||
58 | * Input history, persistent across sessions. |
|
58 | * Input history, persistent across sessions. | |
59 |
|
59 | |||
60 | * Caching of output results during a session with automatically generated |
|
60 | * Caching of output results during a session with automatically generated | |
61 | references. |
|
61 | references. | |
62 |
|
62 | |||
63 | * Extensible tab completion, with support by default for completion of python |
|
63 | * Extensible tab completion, with support by default for completion of python | |
64 | variables and keywords, filenames and function keywords. |
|
64 | variables and keywords, filenames and function keywords. | |
65 |
|
65 | |||
66 | * Extensible system of 'magic' commands for controlling the environment and |
|
66 | * Extensible system of 'magic' commands for controlling the environment and | |
67 | performing many tasks related either to IPython or the operating system. |
|
67 | performing many tasks related either to IPython or the operating system. | |
68 |
|
68 | |||
69 | * A rich configuration system with easy switching between different setups |
|
69 | * A rich configuration system with easy switching between different setups | |
70 | (simpler than changing $PYTHONSTARTUP environment variables every time). |
|
70 | (simpler than changing $PYTHONSTARTUP environment variables every time). | |
71 |
|
71 | |||
72 | * Session logging and reloading. |
|
72 | * Session logging and reloading. | |
73 |
|
73 | |||
74 | * Extensible syntax processing for special purpose situations. |
|
74 | * Extensible syntax processing for special purpose situations. | |
75 |
|
75 | |||
76 | * Access to the system shell with user-extensible alias system. |
|
76 | * Access to the system shell with user-extensible alias system. | |
77 |
|
77 | |||
78 | * Easily embeddable in other Python programs and GUIs. |
|
78 | * Easily embeddable in other Python programs and GUIs. | |
79 |
|
79 | |||
80 | * Integrated access to the pdb debugger and the Python profiler. |
|
80 | * Integrated access to the pdb debugger and the Python profiler. | |
81 |
|
81 | |||
82 | The latest development version is always available from IPython's `GitHub |
|
82 | The latest development version is always available from IPython's `GitHub | |
83 | site <http://github.com/ipython>`_. |
|
83 | site <http://github.com/ipython>`_. | |
84 | """ |
|
84 | """ | |
85 |
|
85 | |||
86 | license = 'BSD' |
|
86 | license = 'BSD' | |
87 |
|
87 | |||
88 | authors = {'Fernando' : ('Fernando Perez','fperez.net@gmail.com'), |
|
88 | authors = {'Fernando' : ('Fernando Perez','fperez.net@gmail.com'), | |
89 | 'Janko' : ('Janko Hauser','jhauser@zscout.de'), |
|
89 | 'Janko' : ('Janko Hauser','jhauser@zscout.de'), | |
90 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), |
|
90 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), | |
91 | 'Ville' : ('Ville Vainio','vivainio@gmail.com'), |
|
91 | 'Ville' : ('Ville Vainio','vivainio@gmail.com'), | |
92 | 'Brian' : ('Brian E Granger', 'ellisonbg@gmail.com'), |
|
92 | 'Brian' : ('Brian E Granger', 'ellisonbg@gmail.com'), | |
93 | 'Min' : ('Min Ragan-Kelley', 'benjaminrk@gmail.com'), |
|
93 | 'Min' : ('Min Ragan-Kelley', 'benjaminrk@gmail.com'), | |
94 | 'Thomas' : ('Thomas A. Kluyver', 'takowl@gmail.com'), |
|
94 | 'Thomas' : ('Thomas A. Kluyver', 'takowl@gmail.com'), | |
95 | 'Jorgen' : ('Jorgen Stenarson', 'jorgen.stenarson@bostream.nu'), |
|
95 | 'Jorgen' : ('Jorgen Stenarson', 'jorgen.stenarson@bostream.nu'), | |
96 | 'Matthias' : ('Matthias Bussonnier', 'bussonniermatthias@gmail.com'), |
|
96 | 'Matthias' : ('Matthias Bussonnier', 'bussonniermatthias@gmail.com'), | |
97 | } |
|
97 | } | |
98 |
|
98 | |||
99 | author = 'The IPython Development Team' |
|
99 | author = 'The IPython Development Team' | |
100 |
|
100 | |||
101 | author_email = 'ipython-dev@python.org' |
|
101 | author_email = 'ipython-dev@python.org' | |
102 |
|
102 | |||
103 | url = 'https://ipython.org' |
|
103 | url = 'https://ipython.org' | |
104 |
|
104 | |||
105 |
|
105 | |||
106 | platforms = ['Linux','Mac OSX','Windows'] |
|
106 | platforms = ['Linux','Mac OSX','Windows'] | |
107 |
|
107 | |||
108 | keywords = ['Interactive','Interpreter','Shell', 'Embedding'] |
|
108 | keywords = ['Interactive','Interpreter','Shell', 'Embedding'] | |
109 |
|
109 | |||
110 | classifiers = [ |
|
110 | classifiers = [ | |
111 | 'Framework :: IPython', |
|
111 | 'Framework :: IPython', | |
112 | 'Intended Audience :: Developers', |
|
112 | 'Intended Audience :: Developers', | |
113 | 'Intended Audience :: Science/Research', |
|
113 | 'Intended Audience :: Science/Research', | |
114 | 'License :: OSI Approved :: BSD License', |
|
114 | 'License :: OSI Approved :: BSD License', | |
115 | 'Programming Language :: Python', |
|
115 | 'Programming Language :: Python', | |
116 | 'Programming Language :: Python :: 3', |
|
116 | 'Programming Language :: Python :: 3', | |
117 | 'Programming Language :: Python :: 3 :: Only', |
|
117 | 'Programming Language :: Python :: 3 :: Only', | |
118 | 'Topic :: System :: Shells' |
|
118 | 'Topic :: System :: Shells' | |
119 | ] |
|
119 | ] |
@@ -1,73 +1,74 b'' | |||||
1 | # Simple tool to help for release |
|
1 | # Simple tool to help for release | |
2 | # when releasing with bash, simplei source it to get asked questions. |
|
2 | # when releasing with bash, simplei source it to get asked questions. | |
3 |
|
3 | |||
4 | # misc check before starting |
|
4 | # misc check before starting | |
5 |
|
5 | |||
6 | python -c 'import keyring' |
|
6 | python -c 'import keyring' | |
7 | python -c 'import twine' |
|
7 | python -c 'import twine' | |
8 | python -c 'import sphinx' |
|
8 | python -c 'import sphinx' | |
9 | python -c 'import sphinx_rtd_theme' |
|
9 | python -c 'import sphinx_rtd_theme' | |
|
10 | python -c 'import nose' | |||
10 |
|
11 | |||
11 | echo -n 'PREV_RELEASE (X.y.z):' |
|
12 | echo -n 'PREV_RELEASE (X.y.z):' | |
12 | read PREV_RELEASE |
|
13 | read PREV_RELEASE | |
13 | echo -n 'MILESTONE (X.y):' |
|
14 | echo -n 'MILESTONE (X.y):' | |
14 | read MILESTONE |
|
15 | read MILESTONE | |
15 | echo -n 'VERSION (X.y.z):' |
|
16 | echo -n 'VERSION (X.y.z):' | |
16 | read VERSION |
|
17 | read VERSION | |
17 | echo -n 'branch (master|X.y):' |
|
18 | echo -n 'branch (master|X.y):' | |
18 | read branch |
|
19 | read branch | |
19 |
|
20 | |||
20 | RED=$(tput setaf 1) |
|
21 | RED=$(tput setaf 1) | |
21 | NOR=$(tput sgr0) |
|
22 | NOR=$(tput sgr0) | |
22 |
|
23 | |||
23 | echo |
|
24 | echo | |
24 | echo "updating what's new with informations from docs/source/whatsnew/pr" |
|
25 | echo "updating what's new with informations from docs/source/whatsnew/pr" | |
25 | python tools/update_whatsnew.py |
|
26 | python tools/update_whatsnew.py | |
26 |
|
27 | |||
27 | echo |
|
28 | echo | |
28 | echo "please move the contents of "docs/source/whatsnew/development.rst" to version-X.rst" |
|
29 | echo "please move the contents of "docs/source/whatsnew/development.rst" to version-X.rst" | |
29 | echo "Press enter to continue" |
|
30 | echo "Press enter to continue" | |
30 | read |
|
31 | read | |
31 |
|
32 | |||
32 | echo |
|
33 | echo | |
33 | echo "here are all the authors that contributed to this release:" |
|
34 | echo "here are all the authors that contributed to this release:" | |
34 | git log --format="%aN <%aE>" $PREV_RELEASE... | sort -u -f |
|
35 | git log --format="%aN <%aE>" $PREV_RELEASE... | sort -u -f | |
35 |
|
36 | |||
36 | echo |
|
37 | echo | |
37 | echo "If you see any duplicates cancel (Ctrl-C), then edit .mailmap" Press enter to continue |
|
38 | echo "If you see any duplicates cancel (Ctrl-C), then edit .mailmap" Press enter to continue | |
38 | read |
|
39 | read | |
39 |
|
40 | |||
40 | echo "generating stats" |
|
41 | echo "generating stats" | |
41 | python tools/github_stats.py --milestone $MILESTONE > stats.rst |
|
42 | python tools/github_stats.py --milestone $MILESTONE > stats.rst | |
42 |
|
43 | |||
43 | echo "stats.rst files generated. Please merge it with the right file (github-stats-X.rst)" |
|
44 | echo "stats.rst files generated. Please merge it with the right file (github-stats-X.rst)" | |
44 | echo "press enter to continue." |
|
45 | echo "press enter to continue." | |
45 | read |
|
46 | read | |
46 |
|
47 | |||
47 | echo "Cleaning repository" |
|
48 | echo "Cleaning repository" | |
48 | git clean -xfdi |
|
49 | git clean -xfdi | |
49 |
|
50 | |||
50 | echo "please update version number in ${RED}IPython/core/release.py${NOR} , Do not commit yet – we'll do it later." |
|
51 | echo "please update version number in ${RED}IPython/core/release.py${NOR} , Do not commit yet – we'll do it later." | |
51 |
|
52 | |||
52 | echo "Press enter to continue" |
|
53 | echo "Press enter to continue" | |
53 | read |
|
54 | read | |
54 |
|
55 | |||
55 | echo |
|
56 | echo | |
56 | echo "Attempting to build the docs.." |
|
57 | echo "Attempting to build the docs.." | |
57 | make html -C docs |
|
58 | make html -C docs | |
58 |
|
59 | |||
59 | echo |
|
60 | echo | |
60 | echo "Check the docs, press enter to continue" |
|
61 | echo "Check the docs, press enter to continue" | |
61 | read |
|
62 | read | |
62 |
|
63 | |||
63 | echo |
|
64 | echo | |
64 | echo "Attempting to build package..." |
|
65 | echo "Attempting to build package..." | |
65 |
|
66 | |||
66 | tools/build_release |
|
67 | tools/build_release | |
67 |
|
68 | |||
68 | echo |
|
69 | echo | |
69 | echo "Let\'s commit : git commit -am \"release $VERSION\" -S" |
|
70 | echo "Let\'s commit : git commit -am \"release $VERSION\" -S" | |
70 | echo "Press enter to continue" |
|
71 | echo "Press enter to continue" | |
71 | read |
|
72 | read | |
72 | git commit -am "release $VERSION" |
|
73 | git commit -am "release $VERSION" | |
73 |
|
74 |
General Comments 0
You need to be logged in to leave comments.
Login now