Show More
@@ -0,0 +1,14 b'' | |||||
|
1 | We use minified versions of JQuery / jQueryUI and google-code-prettify in the Notebook. | |||
|
2 | ||||
|
3 | Some package managers require full versions alongside minified, and they can be | |||
|
4 | dropped in here, if necessary. | |||
|
5 | ||||
|
6 | origins of our minified js: | |||
|
7 | prettify: http://google-code-prettify.googlecode.com/files/prettify-small-1-Jun-2011.tar.bz2 | |||
|
8 | jQuery-1.6.2: http://code.jquery.com/jquery-1.6.2.min.js | |||
|
9 | jQueryUI-1.8.14: generated by https://jqueryui.com/download | |||
|
10 | ||||
|
11 | And their unminified counterparts: | |||
|
12 | prettify: http://google-code-prettify.googlecode.com/files/prettify-1-Jun-2011.tar.bz2 | |||
|
13 | jQuery-1.6.2: http://code.jquery.com/jquery-1.6.2.js | |||
|
14 | jQueryUI-1.8.14: https://github.com/jquery/jquery-ui/tarball/1.8.14 |
@@ -2,8 +2,8 b'' | |||||
2 | """Release data for the IPython project.""" |
|
2 | """Release data for the IPython project.""" | |
3 |
|
3 | |||
4 | #----------------------------------------------------------------------------- |
|
4 | #----------------------------------------------------------------------------- | |
5 |
# Copyright (c) 2008 |
|
5 | # Copyright (c) 2008, IPython Development Team. | |
6 |
# Copyright (c) 2001 |
|
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 | # | |
@@ -45,9 +45,12 b' IPython provides a rich toolkit to help you make the most out of using Python' | |||||
45 | interactively. Its main components are: |
|
45 | interactively. Its main components are: | |
46 |
|
46 | |||
47 | * Powerful interactive Python shells (terminal- and Qt-based). |
|
47 | * Powerful interactive Python shells (terminal- and Qt-based). | |
|
48 | * A web-based interactive notebook environment with all shell features plus | |||
|
49 | support for embedded figures, animations and rich media. | |||
48 | * Support for interactive data visualization and use of GUI toolkits. |
|
50 | * Support for interactive data visualization and use of GUI toolkits. | |
49 | * Flexible, embeddable interpreters to load into your own projects. |
|
51 | * Flexible, embeddable interpreters to load into your own projects. | |
50 |
* |
|
52 | * A high-performance library for high level and interactive parallel computing | |
|
53 | that works in multicore systems, clusters, supercomputing and cloud scenarios. | |||
51 |
|
54 | |||
52 | The enhanced interactive Python shells have the following main features: |
|
55 | The enhanced interactive Python shells have the following main features: | |
53 |
|
56 | |||
@@ -58,13 +61,14 b' The enhanced interactive Python shells have the following main features:' | |||||
58 | * Caching of output results during a session with automatically generated |
|
61 | * Caching of output results during a session with automatically generated | |
59 | references. |
|
62 | references. | |
60 |
|
63 | |||
61 | * Readline based name completion. |
|
64 | * Extensible tab completion, with support by default for completion of python | |
|
65 | variables and keywords, filenames and function keywords. | |||
62 |
|
66 | |||
63 | * Extensible system of 'magic' commands for controlling the environment and |
|
67 | * Extensible system of 'magic' commands for controlling the environment and | |
64 | performing many tasks related either to IPython or the operating system. |
|
68 | performing many tasks related either to IPython or the operating system. | |
65 |
|
69 | |||
66 |
* |
|
70 | * A rich configuration system with easy switching between different setups | |
67 | than changing $PYTHONSTARTUP environment variables every time). |
|
71 | (simpler than changing $PYTHONSTARTUP environment variables every time). | |
68 |
|
72 | |||
69 | * Session logging and reloading. |
|
73 | * Session logging and reloading. | |
70 |
|
74 | |||
@@ -72,7 +76,7 b' The enhanced interactive Python shells have the following main features:' | |||||
72 |
|
76 | |||
73 | * Access to the system shell with user-extensible alias system. |
|
77 | * Access to the system shell with user-extensible alias system. | |
74 |
|
78 | |||
75 |
* Easily embeddable in other Python programs and |
|
79 | * Easily embeddable in other Python programs and GUIs. | |
76 |
|
80 | |||
77 | * Integrated access to the pdb debugger and the Python profiler. |
|
81 | * Integrated access to the pdb debugger and the Python profiler. | |
78 |
|
82 | |||
@@ -108,7 +112,8 b" authors = {'Fernando' : ('Fernando Perez','fperez.net@gmail.com')," | |||||
108 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), |
|
112 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), | |
109 | 'Ville' : ('Ville Vainio','vivainio@gmail.com'), |
|
113 | 'Ville' : ('Ville Vainio','vivainio@gmail.com'), | |
110 | 'Brian' : ('Brian E Granger', 'ellisonbg@gmail.com'), |
|
114 | 'Brian' : ('Brian E Granger', 'ellisonbg@gmail.com'), | |
111 | 'Min' : ('Min Ragan-Kelley', 'benjaminrk@gmail.com') |
|
115 | 'Min' : ('Min Ragan-Kelley', 'benjaminrk@gmail.com'), | |
|
116 | 'Thomas' : ('Thomas A. Kluyver', 'takowl@gmail.com'), | |||
112 | } |
|
117 | } | |
113 |
|
118 | |||
114 | author = 'The IPython Development Team' |
|
119 | author = 'The IPython Development Team' | |
@@ -121,9 +126,10 b" url = 'http://ipython.org'" | |||||
121 | # those are the ones we want pip/easy_install to be able to find. |
|
126 | # those are the ones we want pip/easy_install to be able to find. | |
122 | download_url = 'http://archive.ipython.org/release/%s' % version |
|
127 | download_url = 'http://archive.ipython.org/release/%s' % version | |
123 |
|
128 | |||
124 | platforms = ['Linux','Mac OSX','Windows XP/2000/NT'] |
|
129 | platforms = ['Linux','Mac OSX','Windows XP/2000/NT/Vista/7'] | |
125 |
|
130 | |||
126 |
keywords = ['Interactive','Interpreter','Shell','Parallel','Distributed' |
|
131 | keywords = ['Interactive','Interpreter','Shell','Parallel','Distributed', | |
|
132 | 'Web-based computing', 'Qt console', 'Embedding'] | |||
127 |
|
133 | |||
128 | classifiers = [ |
|
134 | classifiers = [ | |
129 | 'Intended Audience :: Developers', |
|
135 | 'Intended Audience :: Developers', |
@@ -1,3 +1,4 b'' | |||||
|
1 | include README.rst | |||
1 | include ipython.py |
|
2 | include ipython.py | |
2 | include setup2.py |
|
3 | include setup2.py | |
3 | include setup3.py |
|
4 | include setup3.py | |
@@ -20,7 +21,7 b' include IPython/frontend/qt/console/resources/icon/IPythonConsole.svg' | |||||
20 | # Documentation |
|
21 | # Documentation | |
21 | graft docs |
|
22 | graft docs | |
22 | exclude docs/\#* |
|
23 | exclude docs/\#* | |
23 | exclude docs/man/*.1 |
|
24 | exclude docs/man/*.1.gz | |
24 |
|
25 | |||
25 | # docs subdirs we want to skip |
|
26 | # docs subdirs we want to skip | |
26 | prune docs/attic |
|
27 | prune docs/attic |
@@ -5,11 +5,11 b'' | |||||
5 | Overview |
|
5 | Overview | |
6 | ======== |
|
6 | ======== | |
7 |
|
7 | |||
8 |
Welcome to IPython. Our full documentation |
|
8 | Welcome to IPython. Our full documentation is available on `our website | |
9 | manual, is available on `our website <http://ipython.org/documentation.html>`_; |
|
9 | <http://ipython.org/documentation.html>`_; if you downloaded a built source | |
10 | if you downloaded a built source distribution the ``docs/html`` directory |
|
10 | distribution the ``docs/source`` directory contains the plaintext version of | |
11 | contains an HTML version of the manual. The ``docs/source`` directory contains |
|
11 | these manuals. If you have Sphinx installed, you can build them by typing | |
12 | the plaintext version of these manuals. |
|
12 | ``make html`` for local browsing. | |
13 |
|
13 | |||
14 |
|
14 | |||
15 | Dependencies and supported Python versions |
|
15 | Dependencies and supported Python versions |
@@ -26,8 +26,7 b' Most of the release process is automated by the :file:`release` script in the' | |||||
26 | installer. It posts them to the site and registers the release with PyPI. |
|
26 | installer. It posts them to the site and registers the release with PyPI. | |
27 |
|
27 | |||
28 | #. Update the website with announcements and links to the updated changes.txt |
|
28 | #. Update the website with announcements and links to the updated changes.txt | |
29 |
in html form. Remember to put a short note |
|
29 | in html form. Remember to put a short note on the news page of the site. | |
30 | site and on Launcphad. |
|
|||
31 |
|
30 | |||
32 | #. Drafting a short release announcement with i) highlights and ii) a link to |
|
31 | #. Drafting a short release announcement with i) highlights and ii) a link to | |
33 | the html version of the :ref:`Whats new <whatsnew_index>` section of the |
|
32 | the html version of the :ref:`Whats new <whatsnew_index>` section of the | |
@@ -43,4 +42,4 b' Most of the release process is automated by the :file:`release` script in the' | |||||
43 | - Run ``git add`` for all the new files and commit. |
|
42 | - Run ``git add`` for all the new files and commit. | |
44 | - Run ``git push`` to update the public version of the docs on gh-pages. |
|
43 | - Run ``git push`` to update the public version of the docs on gh-pages. | |
45 |
|
44 | |||
46 | #. Celebrate! No newline at end of file |
|
45 | #. Celebrate! |
@@ -7,7 +7,6 b" All of the subpackages come with IPython, so you don't need to download and" | |||||
7 | install them separately. However, to use a given subpackage, you will need to |
|
7 | install them separately. However, to use a given subpackage, you will need to | |
8 | install all of its dependencies. |
|
8 | install all of its dependencies. | |
9 |
|
9 | |||
10 |
|
||||
11 | Please let us know if you have problems installing IPython or any of its |
|
10 | Please let us know if you have problems installing IPython or any of its | |
12 | dependencies. Officially, IPython requires Python 2.6, 2.7, 3.1, or 3.2. |
|
11 | dependencies. Officially, IPython requires Python 2.6, 2.7, 3.1, or 3.2. | |
13 |
|
12 | |||
@@ -17,38 +16,40 b' dependencies. Officially, IPython requires Python 2.6, 2.7, 3.1, or 3.2.' | |||||
17 | longer work on Python <= 2.5. You can find older versions of IPython which |
|
16 | longer work on Python <= 2.5. You can find older versions of IPython which | |
18 | supported Python <= 2.5 `here <http://archive.ipython.org/release/>`_ |
|
17 | supported Python <= 2.5 `here <http://archive.ipython.org/release/>`_ | |
19 |
|
18 | |||
20 |
Some of the installation approaches use the :mod:` |
|
19 | Some of the installation approaches use the :mod:`distribute` package and its | |
21 | :command:`easy_install` command line program. In many scenarios, this provides |
|
20 | :command:`easy_install` command line program. In many scenarios, this provides | |
22 |
the most simple method of installing IPython and its dependencies. |
|
21 | the most simple method of installing IPython and its dependencies. More | |
23 |
|
|
22 | information about :mod:`distribute` can be found on `its PyPI page | |
24 | website. |
|
23 | <http://pypi.python.org/pypi/distribute>`__. | |
25 |
|
24 | |||
26 | .. note:: |
|
25 | .. note:: | |
27 |
|
26 | |||
28 | On Windows, IPython *does* depend on :mod:`setuptools`, and it is recommended |
|
27 | On Windows, IPython has a hard dependency on :mod:`distribute`. We hope to | |
29 | that you install the :mod:`distribute` package, which improves |
|
28 | change this in the future, but for now on Windows, you *must* install | |
30 | :mod:`setuptools` and fixes various bugs. Installing on Python 3 requires |
|
29 | :mod:`distribute`. | |
31 | :mod:`distribute` on all platforms. |
|
|||
32 |
|
||||
33 | We hope to remove this dependency in the future. |
|
|||
34 |
|
30 | |||
35 | More general information about installing Python packages can be found in |
|
31 | More general information about installing Python packages can be found in | |
36 |
Python's documentation |
|
32 | `Python's documentation <http://docs.python.org>`_. | |
|
33 | ||||
37 |
|
34 | |||
38 | Quickstart |
|
35 | Quickstart | |
39 | ========== |
|
36 | ========== | |
40 |
|
37 | |||
41 |
If you have :mod:` |
|
38 | If you have :mod:`distribute` installed and you are on OS X or Linux (not | |
42 | Windows), the following will download and install IPython *and* the main |
|
39 | Windows), the following will download and install IPython *and* the main | |
43 | optional dependencies: |
|
40 | optional dependencies: | |
44 |
|
41 | |||
45 | .. code-block:: bash |
|
42 | .. code-block:: bash | |
46 |
|
43 | |||
47 | $ easy_install ipython[zmq,test] |
|
44 | $ easy_install ipython[zmq,qtconsole,notebook,test] | |
48 |
|
45 | |||
49 | This will get pyzmq, which is needed for |
|
46 | This will get: | |
50 | IPython's parallel computing features as well as the nose package, which will |
|
47 | ||
51 | enable you to run IPython's test suite. |
|
48 | - pyzmq, needed for IPython's parallel computing features, qt console and | |
|
49 | notebook. | |||
|
50 | - pygments, used by the Qt console for syntax highlighting. | |||
|
51 | - tornado, needed by the web-based notebook | |||
|
52 | - nose, used by the test suite. | |||
52 |
|
53 | |||
53 | To run IPython's test suite, use the :command:`iptest` command: |
|
54 | To run IPython's test suite, use the :command:`iptest` command: | |
54 |
|
55 | |||
@@ -56,8 +57,7 b" To run IPython's test suite, use the :command:`iptest` command:" | |||||
56 |
|
57 | |||
57 | $ iptest |
|
58 | $ iptest | |
58 |
|
59 | |||
59 | Read on for more specific details and instructions for Windows. |
|
60 | ||
60 |
|
||||
61 | Installing IPython itself |
|
61 | Installing IPython itself | |
62 | ========================= |
|
62 | ========================= | |
63 |
|
63 | |||
@@ -66,15 +66,16 b' with no external dependencies. However, some Python distributions' | |||||
66 | (particularly on Windows and OS X), don't come with a working :mod:`readline` |
|
66 | (particularly on Windows and OS X), don't come with a working :mod:`readline` | |
67 | module. The IPython shell will work without :mod:`readline`, but will lack |
|
67 | module. The IPython shell will work without :mod:`readline`, but will lack | |
68 | many features that users depend on, such as tab completion and command line |
|
68 | many features that users depend on, such as tab completion and command line | |
69 |
editing. If you install IPython with :mod:` |
|
69 | editing. If you install IPython with :mod:`distribute`, (e.g. with | |
70 |
then the appropriate :mod:`readline` for your platform will be |
|
70 | `easy_install`), then the appropriate :mod:`readline` for your platform will be | |
71 |
See below for details of how to make sure you have a working |
|
71 | installed. See below for details of how to make sure you have a working | |
|
72 | :mod:`readline`. | |||
72 |
|
73 | |||
73 | Installation using easy_install |
|
74 | Installation using easy_install | |
74 | ------------------------------- |
|
75 | ------------------------------- | |
75 |
|
76 | |||
76 |
If you have :mod:` |
|
77 | If you have :mod:`distribute` installed, the easiest way of getting IPython is | |
77 |
to simpl |
|
78 | to simply use :command:`easy_install`: | |
78 |
|
79 | |||
79 | .. code-block:: bash |
|
80 | .. code-block:: bash | |
80 |
|
81 | |||
@@ -101,24 +102,22 b' permissions, you may need to run the last command with :command:`sudo`.' | |||||
101 | Windows |
|
102 | Windows | |
102 | ------- |
|
103 | ------- | |
103 |
|
104 | |||
104 | .. note:: |
|
105 | As mentioned above, on Windows, IPython requires :mod:`distribute`, and it also | |
105 |
|
106 | requires the PyReadline library to properly support coloring and keyboard | ||
106 | On Windows, IPython requires :mod:`setuptools` or :mod:`distribute`. |
|
107 | management (features that the default windows console doesn't have). So on | |
107 |
|
108 | Windows, the installation procedure is: | ||
108 | We hope to remove this dependency in the future. |
|
|||
109 |
|
109 | |||
110 | There are a few caveats for Windows users. The main issue is that a basic |
|
110 | 1. Install `distribute <http://pypi.python.org/pypi/distribute>`_. | |
111 | ``python setup.py install`` approach won't create ``.bat`` file or Start Menu |
|
|||
112 | shortcuts, which most users want. To get an installation with these, you can |
|
|||
113 | use any of the following alternatives: |
|
|||
114 |
|
111 | |||
115 | 1. Install using :command:`easy_install`. |
|
112 | 2. Install `pyreadline <http://pypi.python.org/pypi/pyreadline>`_. You can use | |
|
113 | the command ``easy_install pyreadline`` from a terminal, or the binary | |||
|
114 | installer appropriate for your platform from the PyPI page. | |||
116 |
|
115 | |||
117 | 2. Install using our binary ``.exe`` Windows installer, which can be found |
|
116 | 3. Install IPython itself, which you can download from `PyPI | |
118 | `here <http://ipython.org/download.html>`_ |
|
117 | <http://pypi.python.org/pypi/ipython>`_ or from `our site | |
119 |
|
118 | <http://ipython.org/download.html>`_. Note that on Windows 7, you *must* | ||
120 | 3. Install from source, but using :mod:`setuptools` (``python setupegg.py |
|
119 | right-click and 'Run as administrator' for the Start menu shortcuts to be | |
121 | install``). |
|
120 | created. | |
122 |
|
121 | |||
123 | IPython by default runs in a terminal window, but the normal terminal |
|
122 | IPython by default runs in a terminal window, but the normal terminal | |
124 | application supplied by Microsoft Windows is very primitive. You may want to |
|
123 | application supplied by Microsoft Windows is very primitive. You may want to | |
@@ -129,14 +128,6 b' from the working terminal.' | |||||
129 |
|
128 | |||
130 | .. _Console: http://sourceforge.net/projects/console |
|
129 | .. _Console: http://sourceforge.net/projects/console | |
131 |
|
130 | |||
132 | Note for Windows 64 bit users: you may have difficulties with the stock |
|
|||
133 | installer on 64 bit systems; in this case (since we currently do not have 64 |
|
|||
134 | bit builds of the Windows installer) your best bet is to install from source |
|
|||
135 | with the setuptools method indicated in #3 above. See `this bug report`_ for |
|
|||
136 | further details. |
|
|||
137 |
|
||||
138 | .. _this bug report: https://bugs.launchpad.net/ipython/+bug/382214 |
|
|||
139 |
|
||||
140 |
|
131 | |||
141 | Installing the development version |
|
132 | Installing the development version | |
142 | ---------------------------------- |
|
133 | ---------------------------------- | |
@@ -151,11 +142,8 b' need to have Git installed on your system. Then just do:' | |||||
151 | $ cd ipython |
|
142 | $ cd ipython | |
152 | $ python setup.py install |
|
143 | $ python setup.py install | |
153 |
|
144 | |||
154 | Again, this last step on Windows won't create ``.bat`` files or Start Menu |
|
|||
155 | shortcuts, so you will have to use one of the other approaches listed above. |
|
|||
156 |
|
||||
157 | Some users want to be able to follow the development branch as it changes. If |
|
145 | Some users want to be able to follow the development branch as it changes. If | |
158 |
you have :mod:` |
|
146 | you have :mod:`distribute` installed, this is easy. Simply replace the last | |
159 | step by: |
|
147 | step by: | |
160 |
|
148 | |||
161 | .. code-block:: bash |
|
149 | .. code-block:: bash | |
@@ -170,6 +158,7 b' just do:' | |||||
170 |
|
158 | |||
171 | $ git pull |
|
159 | $ git pull | |
172 |
|
160 | |||
|
161 | ||||
173 | Basic optional dependencies |
|
162 | Basic optional dependencies | |
174 | =========================== |
|
163 | =========================== | |
175 |
|
164 | |||
@@ -186,33 +175,24 b' read on for more details.' | |||||
186 | readline |
|
175 | readline | |
187 | -------- |
|
176 | -------- | |
188 |
|
177 | |||
189 | In principle, all Python distributions should come with a working |
|
178 | As indicated above, on Windows, PyReadline is a *mandatory* dependency. | |
190 | :mod:`readline` module. But, reality is not quite that simple. There are two |
|
179 | PyReadline is a separate, Windows only implementation of readline that uses | |
191 | common situations where you won't have a working :mod:`readline` module: |
|
180 | native Windows calls through :mod:`ctypes`. The easiest way of installing | |
192 |
|
181 | PyReadline is you use the binary installer available `here | ||
193 | * If you are using the built-in Python on Mac OS X. |
|
182 | <http://pypi.python.org/pypi/pyreadline>`_. | |
194 |
|
||||
195 | * If you are running Windows, which doesn't have a :mod:`readline` module. |
|
|||
196 |
|
||||
197 | When IPython is installed with :mod:`setuptools`, (e.g. with `easy_install`), |
|
|||
198 | readline is added as a dependency on OS X, and PyReadline on Windows, and will |
|
|||
199 | be installed on your system. However, if you do not use setuptools, you may |
|
|||
200 | have to install one of these packages yourself. |
|
|||
201 |
|
183 | |||
202 | On OS X, the built-in Python doesn't not have :mod:`readline` because of |
|
184 | On OSX, if you are using the built-in Python shipped by Apple, you will be | |
203 | license issues. Starting with OS X 10.5 (Leopard), Apple's built-in Python has |
|
185 | missing a full readline implementation as Apple ships instead a library called | |
204 | a BSD-licensed not-quite-compatible readline replacement. As of IPython 0.9, |
|
186 | ``libedit`` that provides only some of readline's functionality. While you may | |
205 | many of the issues related to the differences between readline and libedit seem |
|
187 | find libedit sufficient, we have occasional reports of bugs with it and several | |
206 | to have been resolved. While you may find libedit sufficient, we have |
|
188 | developers who use OS X as their main environment consider libedit unacceptable | |
207 | occasional reports of bugs with it and several developers who use OS X as their |
|
189 | for productive, regular use with IPython. | |
208 | main environment consider libedit unacceptable for productive, regular use with |
|
|||
209 | IPython. |
|
|||
210 |
|
190 | |||
211 | Therefore, we *strongly* recommend that on OS X you get the full |
|
191 | Therefore, we *strongly* recommend that on OS X you get the full | |
212 | :mod:`readline` module. We will *not* consider completion/history problems to |
|
192 | :mod:`readline` module. We will *not* consider completion/history problems to | |
213 | be bugs for IPython if you are using libedit. |
|
193 | be bugs for IPython if you are using libedit. | |
214 |
|
194 | |||
215 |
To get a working :mod:`readline` module, just do (with :mod:` |
|
195 | To get a working :mod:`readline` module, just do (with :mod:`distribute` | |
216 | installed): |
|
196 | installed): | |
217 |
|
197 | |||
218 | .. code-block:: bash |
|
198 | .. code-block:: bash | |
@@ -225,14 +205,11 b' installed):' | |||||
225 | python.org binaries) already have readline installed so you likely don't |
|
205 | python.org binaries) already have readline installed so you likely don't | |
226 | have to do this step. |
|
206 | have to do this step. | |
227 |
|
207 | |||
228 | If needed, the readline egg can be build and installed from source (see the |
|
208 | When IPython is installed with :mod:`distribute`, (e.g. using the | |
229 | wiki page at |
|
209 | ``easy_install`` command), readline is added as a dependency on OS X, and | |
230 | http://web.archive.org/web/20090614162410/ipython.scipy.org/moin/InstallationOSXLeopard). |
|
210 | PyReadline on Windows, and will be installed on your system. However, if you | |
|
211 | do not use distribute, you may have to install one of these packages yourself. | |||
231 |
|
212 | |||
232 | On Windows, you will need the PyReadline module. PyReadline is a separate, |
|
|||
233 | Windows only implementation of readline that uses native Windows calls through |
|
|||
234 | :mod:`ctypes`. The easiest way of installing PyReadline is you use the binary |
|
|||
235 | installer available `here <https://launchpad.net/pyreadline/+download>`_. |
|
|||
236 |
|
213 | |||
237 | nose |
|
214 | nose | |
238 | ---- |
|
215 | ---- | |
@@ -281,13 +258,12 b' Dependencies for IPython.parallel (parallel computing)' | |||||
281 | :mod:`IPython.kernel` has been replaced by :mod:`IPython.parallel`, |
|
258 | :mod:`IPython.kernel` has been replaced by :mod:`IPython.parallel`, | |
282 | which uses ZeroMQ for all communication. |
|
259 | which uses ZeroMQ for all communication. | |
283 |
|
260 | |||
284 |
IPython.parallel provides a nice architecture for parallel computing |
|
261 | IPython.parallel provides a nice architecture for parallel computing, with a | |
285 | main focus of this architecture is on interactive parallel computing. These |
|
262 | focus on fluid interactive workflows. These features require just one package: | |
286 |
|
|
263 | PyZMQ. See the next section for PyZMQ details. | |
287 | details. |
|
|||
288 |
|
264 | |||
289 | On a Unix style platform (including OS X), if you want to use |
|
265 | On a Unix style platform (including OS X), if you want to use | |
290 |
:mod:` |
|
266 | :mod:`distribute`, you can just do: | |
291 |
|
267 | |||
292 | .. code-block:: bash |
|
268 | .. code-block:: bash | |
293 |
|
269 | |||
@@ -346,8 +322,8 b' started withe command ``ipython notebook``.' | |||||
346 | pyzmq |
|
322 | pyzmq | |
347 | ----- |
|
323 | ----- | |
348 |
|
324 | |||
349 |
Like the :mod:`IPython.parallel` and :mod:`IPython.frontend.qt.console` |
|
325 | Like the :mod:`IPython.parallel` and :mod:`IPython.frontend.qt.console` | |
350 | the HTML notebook requires ZeroMQ and PyZMQ. |
|
326 | packages, the HTML notebook requires ZeroMQ and PyZMQ. | |
351 |
|
327 | |||
352 | Tornado |
|
328 | Tornado | |
353 | ------- |
|
329 | ------- | |
@@ -370,8 +346,9 b' the proper location::' | |||||
370 | from IPython.external.mathjax import install_mathjax |
|
346 | from IPython.external.mathjax import install_mathjax | |
371 | install_mathjax() |
|
347 | install_mathjax() | |
372 |
|
348 | |||
373 |
This function does require write access to the IPython install directory, so if |
|
349 | This function does require write access to the IPython install directory, so if | |
374 |
have a system-wide Python install, it may need to be done from a ``sudo |
|
350 | you have a system-wide Python install, it may need to be done from a ``sudo | |
|
351 | python`` session. | |||
375 |
|
352 | |||
376 | Browser Compatibility |
|
353 | Browser Compatibility | |
377 | --------------------- |
|
354 | --------------------- |
@@ -3,6 +3,98 b'' | |||||
3 | Issues closed in the 0.12 development cycle |
|
3 | Issues closed in the 0.12 development cycle | |
4 | =========================================== |
|
4 | =========================================== | |
5 |
|
5 | |||
|
6 | Issues closed in 0.12.1 | |||
|
7 | ----------------------- | |||
|
8 | ||||
|
9 | GitHub stats for bugfix release 0.12.1 (12/28/2011-04/16/2012), backporting | |||
|
10 | pull requests from 0.13. | |||
|
11 | ||||
|
12 | We closed a total of 71 issues: 44 pull requests and 27 issues; this is the | |||
|
13 | full list (generated with the script `tools/github_stats.py`). | |||
|
14 | ||||
|
15 | This list is automatically generated, and may be incomplete: | |||
|
16 | ||||
|
17 | Pull Requests (44): | |||
|
18 | ||||
|
19 | * :ghpull:`1175`: core.completer: Clean up excessive and unused code. | |||
|
20 | * :ghpull:`1187`: misc notebook: connection file cleanup, first heartbeat, startup flush | |||
|
21 | * :ghpull:`1190`: Fix link to Chris Fonnesbeck blog post about 0.11 highlights. | |||
|
22 | * :ghpull:`1196`: docs: looks like a file path might have been accidentally pasted in the middle of a word | |||
|
23 | * :ghpull:`1206`: don't preserve fixConsole output in json | |||
|
24 | * :ghpull:`1207`: fix loadpy duplicating newlines | |||
|
25 | * :ghpull:`1213`: BUG: Minor typo in history_console_widget.py | |||
|
26 | * :ghpull:`1218`: Added -q option to %prun for suppression of the output, along with editing the dochelp string. | |||
|
27 | * :ghpull:`1222`: allow Reference as callable in map/apply | |||
|
28 | * :ghpull:`1229`: Fix display of SyntaxError in Python 3 | |||
|
29 | * :ghpull:`1246`: Skip tests that require X, when importing pylab results in RuntimeError. | |||
|
30 | * :ghpull:`1253`: set auto_create flag for notebook apps | |||
|
31 | * :ghpull:`1257`: use self.kernel_manager_class in qtconsoleapp | |||
|
32 | * :ghpull:`1262`: Heartbeat no longer shares the app's Context | |||
|
33 | * :ghpull:`1283`: HeartMonitor.period should be an Integer | |||
|
34 | * :ghpull:`1284`: a fix for GH 1269 | |||
|
35 | * :ghpull:`1289`: Make autoreload extension work on Python 3. | |||
|
36 | * :ghpull:`1306`: Fix %prun input parsing for escaped characters (closes #1302) | |||
|
37 | * :ghpull:`1312`: minor heartbeat tweaks | |||
|
38 | * :ghpull:`1318`: make Ctrl-D in qtconsole act same as in terminal (ready to merge) | |||
|
39 | * :ghpull:`1341`: Don't attempt to tokenize binary files for tracebacks | |||
|
40 | * :ghpull:`1353`: Save notebook as script using unicode file handle. | |||
|
41 | * :ghpull:`1363`: Fix some minor color/style config issues in the qtconsole | |||
|
42 | * :ghpull:`1364`: avoid jsonlib returning Decimal | |||
|
43 | * :ghpull:`1369`: load header with engine id when engine dies in TaskScheduler | |||
|
44 | * :ghpull:`1370`: allow draft76 websockets (Safari) | |||
|
45 | * :ghpull:`1374`: remove calls to meaningless ZMQStream.on_err | |||
|
46 | * :ghpull:`1377`: Saving non-ascii history | |||
|
47 | * :ghpull:`1396`: Fix for %tb magic. | |||
|
48 | * :ghpull:`1402`: fix symlinked /home issue for FreeBSD | |||
|
49 | * :ghpull:`1413`: get_home_dir expands symlinks, adjust test accordingly | |||
|
50 | * :ghpull:`1414`: ignore errors in shell.var_expand | |||
|
51 | * :ghpull:`1430`: Fix for tornado check for tornado < 1.1.0 | |||
|
52 | * :ghpull:`1445`: Don't build sphinx docs for sdists | |||
|
53 | * :ghpull:`1463`: Fix completion when importing modules in the cwd. | |||
|
54 | * :ghpull:`1477`: fix dangling `buffer` in IPython.parallel.util | |||
|
55 | * :ghpull:`1495`: BUG: Fix pretty-printing for overzealous objects | |||
|
56 | * :ghpull:`1496`: BUG: LBYL when clearing the output history on shutdown. | |||
|
57 | * :ghpull:`1514`: DOC: Fix references to IPython.lib.pretty instead of the old location | |||
|
58 | * :ghpull:`1517`: Fix indentation bug in IPython/lib/pretty.py | |||
|
59 | * :ghpull:`1538`: store git commit hash in utils._sysinfo instead of hidden data file | |||
|
60 | * :ghpull:`1599`: Fix for %run -d in Python 3 | |||
|
61 | * :ghpull:`1602`: Fix %env for Python 3 | |||
|
62 | * :ghpull:`1607`: cleanup sqlitedb temporary db file after tests | |||
|
63 | ||||
|
64 | Issues (27): | |||
|
65 | ||||
|
66 | * :ghissue:`676`: IPython.embed() from ipython crashes twice on exit | |||
|
67 | * :ghissue:`846`: Autoreload extension doesn't work with Python 3.2 | |||
|
68 | * :ghissue:`1187`: misc notebook: connection file cleanup, first heartbeat, startup flush | |||
|
69 | * :ghissue:`1191`: profile/startup files not executed with "notebook" | |||
|
70 | * :ghissue:`1197`: Interactive shell trying to: from ... import history | |||
|
71 | * :ghissue:`1198`: Kernel Has Died error in Notebook | |||
|
72 | * :ghissue:`1201`: %env magic fails with Python 3.2 | |||
|
73 | * :ghissue:`1204`: double newline from %loadpy in python notebook (at least on mac) | |||
|
74 | * :ghissue:`1208`: should dv.sync_import print failed imports ? | |||
|
75 | * :ghissue:`1225`: SyntaxError display broken in Python 3 | |||
|
76 | * :ghissue:`1232`: Dead kernel loop | |||
|
77 | * :ghissue:`1241`: When our debugger class is used standalone `_oh` key errors are thrown | |||
|
78 | * :ghissue:`1254`: typo in notebooklist.js breaks links | |||
|
79 | * :ghissue:`1260`: heartbeat failure on long gil-holding operation | |||
|
80 | * :ghissue:`1268`: notebook %reset magic fails with StdinNotImplementedError | |||
|
81 | * :ghissue:`1269`: Another strange input handling error | |||
|
82 | * :ghissue:`1281`: in Hub: registration_timeout must be an integer, but heartmonitor.period is CFloat | |||
|
83 | * :ghissue:`1302`: Input parsing with %prun clobbers escapes | |||
|
84 | * :ghissue:`1304`: controller/server load can disrupt heartbeat | |||
|
85 | * :ghissue:`1317`: Very slow traceback construction from Cython extension | |||
|
86 | * :ghissue:`1345`: notebook can't save unicode as script | |||
|
87 | * :ghissue:`1375`: %history -g -f file encoding issue | |||
|
88 | * :ghissue:`1401`: numpy arrays cannot be used with View.apply() in Python 3 | |||
|
89 | * :ghissue:`1408`: test_get_home_dir_3 failed on Mac OS X | |||
|
90 | * :ghissue:`1412`: Input parsing issue with %prun | |||
|
91 | * :ghissue:`1421`: ipython32 %run -d breaks with NameError name 'execfile' is not defined | |||
|
92 | * :ghissue:`1484`: unhide .git_commit_info.ini | |||
|
93 | ||||
|
94 | ||||
|
95 | Issues closed in 0.12 | |||
|
96 | --------------------- | |||
|
97 | ||||
6 | In this cycle, from August 1 to December 28 2011, we closed a total of 515 |
|
98 | In this cycle, from August 1 to December 28 2011, we closed a total of 515 | |
7 | issues, 257 pull requests and 258 regular issues; this is the full list |
|
99 | issues, 257 pull requests and 258 regular issues; this is the full list | |
8 | (generated with the script `tools/github_stats.py`). |
|
100 | (generated with the script `tools/github_stats.py`). |
@@ -2,6 +2,15 b'' | |||||
2 | 0.12 Series |
|
2 | 0.12 Series | |
3 | ============= |
|
3 | ============= | |
4 |
|
4 | |||
|
5 | Release 0.12.1 | |||
|
6 | ============== | |||
|
7 | ||||
|
8 | IPython 0.12.1 is a bugfix release of 0.12, pulling only bugfixes and minor | |||
|
9 | cleanup from 0.13, timed for the Ubuntu 12.04 LTS release. | |||
|
10 | ||||
|
11 | See the :ref:`list of fixed issues <issues_list_012>` for specific backported issues. | |||
|
12 | ||||
|
13 | ||||
5 | Release 0.12 |
|
14 | Release 0.12 | |
6 | ============ |
|
15 | ============ | |
7 |
|
16 |
@@ -118,11 +118,18 b' def install():' | |||||
118 | cmdbase += '-script.pyw' |
|
118 | cmdbase += '-script.pyw' | |
119 | cmd = '"%s"' % cmdbase |
|
119 | cmd = '"%s"' % cmdbase | |
120 | mkshortcut(pythonw, 'IPython Qt Console', link, cmd, workdir) |
|
120 | mkshortcut(pythonw, 'IPython Qt Console', link, cmd, workdir) | |
121 | # Create documentation shortcuts ... |
|
121 | ||
122 | t = prefix + r'\share\doc\ipython\manual\index.html' |
|
122 | # FIXME: These below are commented out because we don't ship the html built | |
123 | f = ip_start_menu + r'\Manual in HTML.lnk' |
|
123 | # docs anymore. We should make the shortcut to continue existing, but as a | |
124 | mkshortcut(t,'IPython Manual - HTML-Format',f) |
|
124 | # URL to the online the docs for the right version of IPython. The stable | |
|
125 | # URLs have the pattern: | |||
|
126 | # http://ipython.org/ipython-doc/rel-X.Y.Z/html | |||
|
127 | # For IPython version X.Y.Z. | |||
125 |
|
128 | |||
|
129 | ## # Create documentation shortcuts ... | |||
|
130 | ## t = prefix + r'\share\doc\ipython\manual\index.html' | |||
|
131 | ## f = ip_start_menu + r'\Manual in HTML.lnk' | |||
|
132 | ## mkshortcut(t,'IPython Manual - HTML-Format',f) | |||
126 |
|
133 | |||
127 | def remove(): |
|
134 | def remove(): | |
128 | """Routine to be run by the win32 installer with the -remove switch.""" |
|
135 | """Routine to be run by the win32 installer with the -remove switch.""" |
@@ -1,6 +1,9 b'' | |||||
1 | #!/usr/bin/env python |
|
1 | #!/usr/bin/env python | |
2 | """IPython release build script. |
|
2 | """IPython release build script. | |
3 | """ |
|
3 | """ | |
|
4 | ||||
|
5 | import os | |||
|
6 | ||||
4 | from toollib import * |
|
7 | from toollib import * | |
5 |
|
8 | |||
6 | # Get main ipython dir, this will raise if it doesn't pass some checks |
|
9 | # Get main ipython dir, this will raise if it doesn't pass some checks | |
@@ -20,16 +23,16 b" for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist')," | |||||
20 | remove_tree(d) |
|
23 | remove_tree(d) | |
21 |
|
24 | |||
22 | # Build source and binary distros |
|
25 | # Build source and binary distros | |
23 | sh('./setup.py sdist --formats=gztar,zip') |
|
26 | sh(sdists) | |
24 |
|
27 | |||
25 | # Build eggs |
|
28 | # Build eggs | |
26 | sh('python ./setupegg.py bdist_egg') |
|
29 | sh(eggs) | |
27 |
|
30 | |||
28 | # Call the windows build separately, so that the extra Windows scripts don't |
|
31 | # Run windows builds | |
29 | # get pulled into Unix builds (setup.py has code which checks for |
|
32 | map(sh, win_builds) | |
30 | # bdist_wininst) |
|
|||
31 | sh("python setup.py bdist_wininst --install-script=ipython_win_post_install.py") |
|
|||
32 |
|
33 | |||
33 | # Change name so retarded Vista runs the installer correctly |
|
34 | # Change name so retarded Vista runs the installer correctly | |
34 |
sh("rename 's/linux-i686/win32 |
|
35 | sh("rename 's/linux-i686/win32/' dist/*.exe") | |
35 |
sh("rename 's/linux-x86_64/win32 |
|
36 | sh("rename 's/linux-x86_64/win32/' dist/*.exe") | |
|
37 | # exe files aren't really executable under *nix. | |||
|
38 | sh("chmod -x dist/*.exe") |
@@ -49,7 +49,8 b' cd(ipdir)' | |||||
49 | sh('./setup.py register') |
|
49 | sh('./setup.py register') | |
50 |
|
50 | |||
51 | # Upload all files |
|
51 | # Upload all files | |
52 | sh('./setup.py sdist --formats=gztar,zip upload') |
|
52 | for cmd in [sdists, eggs] + win_builds: | |
|
53 | sh(cmd + ' upload') | |||
53 | cd(distdir) |
|
54 | cd(distdir) | |
54 | print( 'Uploading distribution files...') |
|
55 | print( 'Uploading distribution files...') | |
55 |
|
56 |
@@ -19,6 +19,27 b" archive_user = 'ipython@archive.ipython.org'" | |||||
19 | archive_dir = 'archive.ipython.org' |
|
19 | archive_dir = 'archive.ipython.org' | |
20 | archive = '%s:%s' % (archive_user, archive_dir) |
|
20 | archive = '%s:%s' % (archive_user, archive_dir) | |
21 |
|
21 | |||
|
22 | # Build commands | |||
|
23 | # Source dists | |||
|
24 | sdists = './setup.py sdist --formats=gztar,zip' | |||
|
25 | # Eggs | |||
|
26 | eggs = './setupegg.py bdist_egg' | |||
|
27 | ||||
|
28 | # Windows builds. | |||
|
29 | # We do them separately, so that the extra Windows scripts don't get pulled | |||
|
30 | # into Unix builds (setup.py has code which checks for bdist_wininst). Note | |||
|
31 | # that the install scripts args are added to the main distutils call in | |||
|
32 | # setup.py, so they don't need to be passed here. | |||
|
33 | # | |||
|
34 | # The Windows 64-bit installer can't be built by a Linux/Mac Python because ofa | |||
|
35 | # bug in distutils: http://bugs.python.org/issue6792. | |||
|
36 | # So we have to build it with a wine-installed native Windows Python... | |||
|
37 | win_builds = ["python setup.py bdist_wininst", | |||
|
38 | r"%s/.wine/dosdevices/c\:/Python27/python.exe setup.py build " | |||
|
39 | "--plat-name=win-amd64 bdist_wininst " | |||
|
40 | "--install-script=ipython_win_post_install.py" % | |||
|
41 | os.environ['HOME'] ] | |||
|
42 | ||||
22 | # Utility functions |
|
43 | # Utility functions | |
23 | def sh(cmd): |
|
44 | def sh(cmd): | |
24 | """Run system command in shell, raise SystemExit if it returns an error.""" |
|
45 | """Run system command in shell, raise SystemExit if it returns an error.""" |
General Comments 0
You need to be logged in to leave comments.
Login now