##// END OF EJS Templates
Update info for pypi.
Fernando Perez -
Show More
@@ -1,141 +1,147 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-2011, IPython Development Team.
5 # Copyright (c) 2008-2012, IPython Development Team.
6 # Copyright (c) 2001-2007, Fernando Perez <fernando.perez@colorado.edu>
6 # Copyright (c) 2001-2007, 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 = 0
22 _version_major = 0
23 _version_minor = 13
23 _version_minor = 13
24 _version_micro = '' # use '' for first of series, number for 1 and above
24 _version_micro = '' # use '' for first of series, number for 1 and above
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]
31 if _version_micro:
31 if _version_micro:
32 _ver.append(_version_micro)
32 _ver.append(_version_micro)
33 if _version_extra:
33 if _version_extra:
34 _ver.append(_version_extra)
34 _ver.append(_version_extra)
35
35
36 __version__ = '.'.join(map(str, _ver))
36 __version__ = '.'.join(map(str, _ver))
37
37
38 version = __version__ # backwards compatibility name
38 version = __version__ # backwards compatibility name
39
39
40 description = "IPython: Productive Interactive Computing"
40 description = "IPython: Productive Interactive Computing"
41
41
42 long_description = \
42 long_description = \
43 """
43 """
44 IPython provides a rich toolkit to help you make the most out of using Python
44 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 * Tools for high level and interactive parallel computing.
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
54 * Comprehensive object introspection.
57 * Comprehensive object introspection.
55
58
56 * Input history, persistent across sessions.
59 * Input history, persistent across sessions.
57
60
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 * Configuration system with easy switching between different setups (simpler
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
71 * Extensible syntax processing for special purpose situations.
75 * Extensible syntax processing for special purpose situations.
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 wxPython GUIs.
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
79 The parallel computing architecture has the following main features:
83 The parallel computing architecture has the following main features:
80
84
81 * Quickly parallelize Python code from an interactive Python/IPython session.
85 * Quickly parallelize Python code from an interactive Python/IPython session.
82
86
83 * A flexible and dynamic process model that be deployed on anything from
87 * A flexible and dynamic process model that be deployed on anything from
84 multicore workstations to supercomputers.
88 multicore workstations to supercomputers.
85
89
86 * An architecture that supports many different styles of parallelism, from
90 * An architecture that supports many different styles of parallelism, from
87 message passing to task farming.
91 message passing to task farming.
88
92
89 * Both blocking and fully asynchronous interfaces.
93 * Both blocking and fully asynchronous interfaces.
90
94
91 * High level APIs that enable many things to be parallelized in a few lines
95 * High level APIs that enable many things to be parallelized in a few lines
92 of code.
96 of code.
93
97
94 * Share live parallel jobs with other users securely.
98 * Share live parallel jobs with other users securely.
95
99
96 * Dynamically load balanced task farming system.
100 * Dynamically load balanced task farming system.
97
101
98 * Robust error handling in parallel code.
102 * Robust error handling in parallel code.
99
103
100 The latest development version is always available from IPython's `GitHub
104 The latest development version is always available from IPython's `GitHub
101 site <http://github.com/ipython>`_.
105 site <http://github.com/ipython>`_.
102 """
106 """
103
107
104 license = 'BSD'
108 license = 'BSD'
105
109
106 authors = {'Fernando' : ('Fernando Perez','fperez.net@gmail.com'),
110 authors = {'Fernando' : ('Fernando Perez','fperez.net@gmail.com'),
107 'Janko' : ('Janko Hauser','jhauser@zscout.de'),
111 'Janko' : ('Janko Hauser','jhauser@zscout.de'),
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'
115
120
116 author_email = 'ipython-dev@scipy.org'
121 author_email = 'ipython-dev@scipy.org'
117
122
118 url = 'http://ipython.org'
123 url = 'http://ipython.org'
119
124
120 # This will only be valid for actual releases sent to PyPI, but that's OK since
125 # This will only be valid for actual releases sent to PyPI, but that's OK since
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',
130 'Intended Audience :: Science/Research',
136 'Intended Audience :: Science/Research',
131 'License :: OSI Approved :: BSD License',
137 'License :: OSI Approved :: BSD License',
132 'Programming Language :: Python',
138 'Programming Language :: Python',
133 'Programming Language :: Python :: 2',
139 'Programming Language :: Python :: 2',
134 'Programming Language :: Python :: 2.6',
140 'Programming Language :: Python :: 2.6',
135 'Programming Language :: Python :: 2.7',
141 'Programming Language :: Python :: 2.7',
136 'Programming Language :: Python :: 3',
142 'Programming Language :: Python :: 3',
137 'Programming Language :: Python :: 3.1',
143 'Programming Language :: Python :: 3.1',
138 'Programming Language :: Python :: 3.2',
144 'Programming Language :: Python :: 3.2',
139 'Topic :: System :: Distributed Computing',
145 'Topic :: System :: Distributed Computing',
140 'Topic :: System :: Shells'
146 'Topic :: System :: Shells'
141 ]
147 ]
@@ -1,376 +1,376 b''
1 Overview
1 Overview
2 ========
2 ========
3
3
4 This document describes the steps required to install IPython. IPython is
4 This document describes the steps required to install IPython. IPython is
5 organized into a number of subpackages, each of which has its own dependencies.
5 organized into a number of subpackages, each of which has its own dependencies.
6 All of the subpackages come with IPython, so you don't need to download and
6 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 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
11 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.
12
12
13 .. warning::
13 .. warning::
14
14
15 Since version 0.11, IPython has a hard syntax dependency on 2.6, and will no
15 Since version 0.11, IPython has a hard syntax dependency on 2.6, and will no
16 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
17 supported Python <= 2.5 `here <http://archive.ipython.org/release/>`_
17 supported Python <= 2.5 `here <http://archive.ipython.org/release/>`_
18
18
19 Some of the installation approaches use the :mod:`distribute` package and its
19 Some of the installation approaches use the :mod:`distribute` package and its
20 :command:`easy_install` command line program. In many scenarios, this provides
20 :command:`easy_install` command line program. In many scenarios, this provides
21 the most simple method of installing IPython and its dependencies. More
21 the most simple method of installing IPython and its dependencies. More
22 information about :mod:`distribute` can be found on its website.
22 information about :mod:`distribute` can be found on its website.
23
23
24 .. note::
24 .. note::
25
25
26 On Windows, IPython has a hard dependency on :mod:`distribute`. We hope to
26 On Windows, IPython has a hard dependency on :mod:`distribute`. We hope to
27 change this in the future, but for now on Windows, you *must* install
27 change this in the future, but for now on Windows, you *must* install
28 :mod:`distribute`.
28 :mod:`distribute`.
29
29
30 More general information about installing Python packages can be found in
30 More general information about installing Python packages can be found in
31 `Python's documentation <http://docs.python.org>`_.
31 `Python's documentation <http://docs.python.org>`_.
32
32
33
33
34 Quickstart
34 Quickstart
35 ==========
35 ==========
36
36
37 If you have :mod:`distribute` installed and you are on OS X or Linux (not
37 If you have :mod:`distribute` installed and you are on OS X or Linux (not
38 Windows), the following will download and install IPython *and* the main
38 Windows), the following will download and install IPython *and* the main
39 optional dependencies:
39 optional dependencies:
40
40
41 .. code-block:: bash
41 .. code-block:: bash
42
42
43 $ easy_install ipython[zmq,qtconsole,notebook,test]
43 $ easy_install ipython[zmq,qtconsole,notebook,test]
44
44
45 This will get:
45 This will get:
46
46
47 - pyzmq, needed for IPython's parallel computing features, qt console and
47 - pyzmq, needed for IPython's parallel computing features, qt console and
48 notebook.
48 notebook.
49 - pygments, used by the Qt console for syntax highlighting.
49 - pygments, used by the Qt console for syntax highlighting.
50 - tornado, needed by the web-based notebook
50 - tornado, needed by the web-based notebook
51 - nose, used by the test suite.
51 - nose, used by the test suite.
52
52
53 To run IPython's test suite, use the :command:`iptest` command:
53 To run IPython's test suite, use the :command:`iptest` command:
54
54
55 .. code-block:: bash
55 .. code-block:: bash
56
56
57 $ iptest
57 $ iptest
58
58
59
59
60 Installing IPython itself
60 Installing IPython itself
61 =========================
61 =========================
62
62
63 Given a properly built Python, the basic interactive IPython shell will work
63 Given a properly built Python, the basic interactive IPython shell will work
64 with no external dependencies. However, some Python distributions
64 with no external dependencies. However, some Python distributions
65 (particularly on Windows and OS X), don't come with a working :mod:`readline`
65 (particularly on Windows and OS X), don't come with a working :mod:`readline`
66 module. The IPython shell will work without :mod:`readline`, but will lack
66 module. The IPython shell will work without :mod:`readline`, but will lack
67 many features that users depend on, such as tab completion and command line
67 many features that users depend on, such as tab completion and command line
68 editing. If you install IPython with :mod:`distribute`, (e.g. with
68 editing. If you install IPython with :mod:`distribute`, (e.g. with
69 `easy_install`), then the appropriate :mod:`readline` for your platform will be
69 `easy_install`), then the appropriate :mod:`readline` for your platform will be
70 installed. See below for details of how to make sure you have a working
70 installed. See below for details of how to make sure you have a working
71 :mod:`readline`.
71 :mod:`readline`.
72
72
73 Installation using easy_install
73 Installation using easy_install
74 -------------------------------
74 -------------------------------
75
75
76 If you have :mod:`distribute` installed, the easiest way of getting IPython is
76 If you have :mod:`distribute` installed, the easiest way of getting IPython is
77 to simple use :command:`easy_install`:
77 to simply use :command:`easy_install`:
78
78
79 .. code-block:: bash
79 .. code-block:: bash
80
80
81 $ easy_install ipython
81 $ easy_install ipython
82
82
83 That's it.
83 That's it.
84
84
85 Installation from source
85 Installation from source
86 ------------------------
86 ------------------------
87
87
88 If you don't want to use :command:`easy_install`, or don't have it installed,
88 If you don't want to use :command:`easy_install`, or don't have it installed,
89 just grab the latest stable build of IPython from `here
89 just grab the latest stable build of IPython from `here
90 <http://ipython.org/download.html>`_. Then do the following:
90 <http://ipython.org/download.html>`_. Then do the following:
91
91
92 .. code-block:: bash
92 .. code-block:: bash
93
93
94 $ tar -xzf ipython.tar.gz
94 $ tar -xzf ipython.tar.gz
95 $ cd ipython
95 $ cd ipython
96 $ python setup.py install
96 $ python setup.py install
97
97
98 If you are installing to a location (like ``/usr/local``) that requires higher
98 If you are installing to a location (like ``/usr/local``) that requires higher
99 permissions, you may need to run the last command with :command:`sudo`.
99 permissions, you may need to run the last command with :command:`sudo`.
100
100
101 Windows
101 Windows
102 -------
102 -------
103
103
104 As mentioned above, on Windows, IPython requires :mod:`distribute`, and it also
104 As mentioned above, on Windows, IPython requires :mod:`distribute`, and it also
105 requires the PyReadline library to properly support coloring and keyboard
105 requires the PyReadline library to properly support coloring and keyboard
106 management (features that the default windows console doesn't have). So on
106 management (features that the default windows console doesn't have). So on
107 Windows, the installation procedure is:
107 Windows, the installation procedure is:
108
108
109 1. Install `distribute <http://pypi.python.org/pypi/distribute>`_.
109 1. Install `distribute <http://pypi.python.org/pypi/distribute>`_.
110
110
111 2. Install `pyreadline <http://pypi.python.org/pypi/pyreadline>`_. You can use
111 2. Install `pyreadline <http://pypi.python.org/pypi/pyreadline>`_. You can use
112 the command ``easy_install pyreadline`` from a terminal, or the binary
112 the command ``easy_install pyreadline`` from a terminal, or the binary
113 installer appropriate for your platform from the PyPI page.
113 installer appropriate for your platform from the PyPI page.
114
114
115 3. Install IPython itself, which you can download from `PyPI
115 3. Install IPython itself, which you can download from `PyPI
116 <http://pypi.python.org/pypi/ipython>`_ or from `our site
116 <http://pypi.python.org/pypi/ipython>`_ or from `our site
117 <http://ipython.org/download.html>`_. Note that on Windows 7, you *must*
117 <http://ipython.org/download.html>`_. Note that on Windows 7, you *must*
118 right-click and 'Run as administrator' for the Start menu shortcuts to be
118 right-click and 'Run as administrator' for the Start menu shortcuts to be
119 created.
119 created.
120
120
121 IPython by default runs in a terminal window, but the normal terminal
121 IPython by default runs in a terminal window, but the normal terminal
122 application supplied by Microsoft Windows is very primitive. You may want to
122 application supplied by Microsoft Windows is very primitive. You may want to
123 download the excellent and free Console_ application instead, which is a far
123 download the excellent and free Console_ application instead, which is a far
124 superior tool. You can even configure Console to give you by default an
124 superior tool. You can even configure Console to give you by default an
125 IPython tab, which is very convenient to create new IPython sessions directly
125 IPython tab, which is very convenient to create new IPython sessions directly
126 from the working terminal.
126 from the working terminal.
127
127
128 .. _Console: http://sourceforge.net/projects/console
128 .. _Console: http://sourceforge.net/projects/console
129
129
130
130
131 Installing the development version
131 Installing the development version
132 ----------------------------------
132 ----------------------------------
133
133
134 It is also possible to install the development version of IPython from our
134 It is also possible to install the development version of IPython from our
135 `Git <http://git-scm.com/>`_ source code repository. To do this you will
135 `Git <http://git-scm.com/>`_ source code repository. To do this you will
136 need to have Git installed on your system. Then just do:
136 need to have Git installed on your system. Then just do:
137
137
138 .. code-block:: bash
138 .. code-block:: bash
139
139
140 $ git clone https://github.com/ipython/ipython.git
140 $ git clone https://github.com/ipython/ipython.git
141 $ cd ipython
141 $ cd ipython
142 $ python setup.py install
142 $ python setup.py install
143
143
144 Some users want to be able to follow the development branch as it changes. If
144 Some users want to be able to follow the development branch as it changes. If
145 you have :mod:`distribute` installed, this is easy. Simply replace the last
145 you have :mod:`distribute` installed, this is easy. Simply replace the last
146 step by:
146 step by:
147
147
148 .. code-block:: bash
148 .. code-block:: bash
149
149
150 $ python setupegg.py develop
150 $ python setupegg.py develop
151
151
152 This creates links in the right places and installs the command line script to
152 This creates links in the right places and installs the command line script to
153 the appropriate places. Then, if you want to update your IPython at any time,
153 the appropriate places. Then, if you want to update your IPython at any time,
154 just do:
154 just do:
155
155
156 .. code-block:: bash
156 .. code-block:: bash
157
157
158 $ git pull
158 $ git pull
159
159
160
160
161 Basic optional dependencies
161 Basic optional dependencies
162 ===========================
162 ===========================
163
163
164 There are a number of basic optional dependencies that most users will want to
164 There are a number of basic optional dependencies that most users will want to
165 get. These are:
165 get. These are:
166
166
167 * readline (for command line editing, tab completion, etc.)
167 * readline (for command line editing, tab completion, etc.)
168 * nose (to run the IPython test suite)
168 * nose (to run the IPython test suite)
169 * pexpect (to use things like irunner)
169 * pexpect (to use things like irunner)
170
170
171 If you are comfortable installing these things yourself, have at it, otherwise
171 If you are comfortable installing these things yourself, have at it, otherwise
172 read on for more details.
172 read on for more details.
173
173
174 readline
174 readline
175 --------
175 --------
176
176
177 As indicated above, on Windows, PyReadline is a *mandatory* dependency.
177 As indicated above, on Windows, PyReadline is a *mandatory* dependency.
178 PyReadline is a separate, Windows only implementation of readline that uses
178 PyReadline is a separate, Windows only implementation of readline that uses
179 native Windows calls through :mod:`ctypes`. The easiest way of installing
179 native Windows calls through :mod:`ctypes`. The easiest way of installing
180 PyReadline is you use the binary installer available `here
180 PyReadline is you use the binary installer available `here
181 <http://pypi.python.org/pypi/pyreadline>`_.
181 <http://pypi.python.org/pypi/pyreadline>`_.
182
182
183 On OSX, if you are using the built-in Python shipped by Apple, you will be
183 On OSX, if you are using the built-in Python shipped by Apple, you will be
184 missing a full readline implementation as Apple ships instead a library called
184 missing a full readline implementation as Apple ships instead a library called
185 ``libedit`` that provides only some of readline's functionality. While you may
185 ``libedit`` that provides only some of readline's functionality. While you may
186 find libedit sufficient, we have occasional reports of bugs with it and several
186 find libedit sufficient, we have occasional reports of bugs with it and several
187 developers who use OS X as their main environment consider libedit unacceptable
187 developers who use OS X as their main environment consider libedit unacceptable
188 for productive, regular use with IPython.
188 for productive, regular use with IPython.
189
189
190 Therefore, we *strongly* recommend that on OS X you get the full
190 Therefore, we *strongly* recommend that on OS X you get the full
191 :mod:`readline` module. We will *not* consider completion/history problems to
191 :mod:`readline` module. We will *not* consider completion/history problems to
192 be bugs for IPython if you are using libedit.
192 be bugs for IPython if you are using libedit.
193
193
194 To get a working :mod:`readline` module, just do (with :mod:`distribute`
194 To get a working :mod:`readline` module, just do (with :mod:`distribute`
195 installed):
195 installed):
196
196
197 .. code-block:: bash
197 .. code-block:: bash
198
198
199 $ easy_install readline
199 $ easy_install readline
200
200
201 .. note::
201 .. note::
202
202
203 Other Python distributions on OS X (such as fink, MacPorts and the official
203 Other Python distributions on OS X (such as fink, MacPorts and the official
204 python.org binaries) already have readline installed so you likely don't
204 python.org binaries) already have readline installed so you likely don't
205 have to do this step.
205 have to do this step.
206
206
207 When IPython is installed with :mod:`distribute`, (e.g. using the
207 When IPython is installed with :mod:`distribute`, (e.g. using the
208 ``easy_install`` command), readline is added as a dependency on OS X, and
208 ``easy_install`` command), readline is added as a dependency on OS X, and
209 PyReadline on Windows, and will be installed on your system. However, if you
209 PyReadline on Windows, and will be installed on your system. However, if you
210 do not use distribute, you may have to install one of these packages yourself.
210 do not use distribute, you may have to install one of these packages yourself.
211
211
212
212
213 nose
213 nose
214 ----
214 ----
215
215
216 To run the IPython test suite you will need the :mod:`nose` package. Nose
216 To run the IPython test suite you will need the :mod:`nose` package. Nose
217 provides a great way of sniffing out and running all of the IPython tests. The
217 provides a great way of sniffing out and running all of the IPython tests. The
218 simplest way of getting nose, is to use :command:`easy_install`:
218 simplest way of getting nose, is to use :command:`easy_install`:
219
219
220 .. code-block:: bash
220 .. code-block:: bash
221
221
222 $ easy_install nose
222 $ easy_install nose
223
223
224 Another way of getting this is to do:
224 Another way of getting this is to do:
225
225
226 .. code-block:: bash
226 .. code-block:: bash
227
227
228 $ easy_install ipython[test]
228 $ easy_install ipython[test]
229
229
230 For more installation options, see the `nose website
230 For more installation options, see the `nose website
231 <http://somethingaboutorange.com/mrl/projects/nose/>`_.
231 <http://somethingaboutorange.com/mrl/projects/nose/>`_.
232
232
233 Once you have nose installed, you can run IPython's test suite using the
233 Once you have nose installed, you can run IPython's test suite using the
234 iptest command:
234 iptest command:
235
235
236 .. code-block:: bash
236 .. code-block:: bash
237
237
238 $ iptest
238 $ iptest
239
239
240 pexpect
240 pexpect
241 -------
241 -------
242
242
243 The pexpect_ package is used in IPython's :command:`irunner` script, as well as
243 The pexpect_ package is used in IPython's :command:`irunner` script, as well as
244 for managing subprocesses. IPython now includes a version of pexpect in
244 for managing subprocesses. IPython now includes a version of pexpect in
245 :mod:`IPython.external`, but if you have installed pexpect, IPython will use
245 :mod:`IPython.external`, but if you have installed pexpect, IPython will use
246 that instead. On Unix platforms (including OS X), just do:
246 that instead. On Unix platforms (including OS X), just do:
247
247
248 .. code-block:: bash
248 .. code-block:: bash
249
249
250 $ easy_install pexpect
250 $ easy_install pexpect
251
251
252 Windows users are out of luck as pexpect does not run there.
252 Windows users are out of luck as pexpect does not run there.
253
253
254 Dependencies for IPython.parallel (parallel computing)
254 Dependencies for IPython.parallel (parallel computing)
255 ======================================================
255 ======================================================
256
256
257 :mod:`IPython.kernel` has been replaced by :mod:`IPython.parallel`,
257 :mod:`IPython.kernel` has been replaced by :mod:`IPython.parallel`,
258 which uses ZeroMQ for all communication.
258 which uses ZeroMQ for all communication.
259
259
260 IPython.parallel provides a nice architecture for parallel computing, with a
260 IPython.parallel provides a nice architecture for parallel computing, with a
261 focus on fluid interactive workflows. These features require just one package:
261 focus on fluid interactive workflows. These features require just one package:
262 PyZMQ. See the next section for PyZMQ details.
262 PyZMQ. See the next section for PyZMQ details.
263
263
264 On a Unix style platform (including OS X), if you want to use
264 On a Unix style platform (including OS X), if you want to use
265 :mod:`distribute`, you can just do:
265 :mod:`distribute`, you can just do:
266
266
267 .. code-block:: bash
267 .. code-block:: bash
268
268
269 $ easy_install ipython[zmq] # will include pyzmq
269 $ easy_install ipython[zmq] # will include pyzmq
270
270
271 Security in IPython.parallel is provided by SSH tunnels. By default, Linux
271 Security in IPython.parallel is provided by SSH tunnels. By default, Linux
272 and OSX clients will use the shell ssh command, but on Windows, we also
272 and OSX clients will use the shell ssh command, but on Windows, we also
273 support tunneling with paramiko_.
273 support tunneling with paramiko_.
274
274
275 Dependencies for IPython.zmq
275 Dependencies for IPython.zmq
276 ============================
276 ============================
277
277
278 pyzmq
278 pyzmq
279 -----
279 -----
280
280
281 IPython 0.11 introduced some new functionality, including a two-process
281 IPython 0.11 introduced some new functionality, including a two-process
282 execution model using ZeroMQ_ for communication. The Python bindings to ZeroMQ
282 execution model using ZeroMQ_ for communication. The Python bindings to ZeroMQ
283 are found in the PyZMQ_ project, which is easy_install-able once you have
283 are found in the PyZMQ_ project, which is easy_install-able once you have
284 ZeroMQ installed. If you are on Python 2.6 or 2.7 on OSX, or 2.7 on Windows,
284 ZeroMQ installed. If you are on Python 2.6 or 2.7 on OSX, or 2.7 on Windows,
285 pyzmq has eggs that include ZeroMQ itself.
285 pyzmq has eggs that include ZeroMQ itself.
286
286
287 IPython.zmq depends on pyzmq >= 2.1.4.
287 IPython.zmq depends on pyzmq >= 2.1.4.
288
288
289 Dependencies for the IPython QT console
289 Dependencies for the IPython QT console
290 =======================================
290 =======================================
291
291
292 pyzmq
292 pyzmq
293 -----
293 -----
294
294
295 Like the :mod:`IPython.parallel` package, the QT Console requires ZeroMQ and
295 Like the :mod:`IPython.parallel` package, the QT Console requires ZeroMQ and
296 PyZMQ.
296 PyZMQ.
297
297
298 Qt
298 Qt
299 --
299 --
300
300
301 Also with 0.11, a new GUI was added using the work in :mod:`IPython.zmq`, which
301 Also with 0.11, a new GUI was added using the work in :mod:`IPython.zmq`, which
302 can be launched with ``ipython qtconsole``. The GUI is built on Qt, and works
302 can be launched with ``ipython qtconsole``. The GUI is built on Qt, and works
303 with either PyQt, which can be installed from the `PyQt website
303 with either PyQt, which can be installed from the `PyQt website
304 <http://www.riverbankcomputing.co.uk/>`_, or `PySide
304 <http://www.riverbankcomputing.co.uk/>`_, or `PySide
305 <http://www.pyside.org/>`_, from Nokia.
305 <http://www.pyside.org/>`_, from Nokia.
306
306
307 pygments
307 pygments
308 --------
308 --------
309
309
310 The syntax-highlighting in ``ipython qtconsole`` is done with the pygments_
310 The syntax-highlighting in ``ipython qtconsole`` is done with the pygments_
311 project, which is easy_install-able.
311 project, which is easy_install-able.
312
312
313 .. _installnotebook:
313 .. _installnotebook:
314
314
315 Dependencies for the IPython HTML notebook
315 Dependencies for the IPython HTML notebook
316 ==========================================
316 ==========================================
317
317
318 The IPython notebook is a notebook-style web interface to IPython and can be
318 The IPython notebook is a notebook-style web interface to IPython and can be
319 started withe command ``ipython notebook``.
319 started withe command ``ipython notebook``.
320
320
321 pyzmq
321 pyzmq
322 -----
322 -----
323
323
324 Like the :mod:`IPython.parallel` and :mod:`IPython.frontend.qt.console`
324 Like the :mod:`IPython.parallel` and :mod:`IPython.frontend.qt.console`
325 packages, the HTML notebook requires ZeroMQ and PyZMQ.
325 packages, the HTML notebook requires ZeroMQ and PyZMQ.
326
326
327 Tornado
327 Tornado
328 -------
328 -------
329
329
330 The IPython notebook uses the Tornado_ project for its HTTP server. Tornado 2.1
330 The IPython notebook uses the Tornado_ project for its HTTP server. Tornado 2.1
331 is required, in order to support current versions of browsers, due to an update
331 is required, in order to support current versions of browsers, due to an update
332 to the websocket protocol.
332 to the websocket protocol.
333
333
334
334
335 MathJax
335 MathJax
336 -------
336 -------
337
337
338 The IPython notebook uses the MathJax_ Javascript library for rendering LaTeX
338 The IPython notebook uses the MathJax_ Javascript library for rendering LaTeX
339 in web browsers. Because MathJax is large, we don't include it with
339 in web browsers. Because MathJax is large, we don't include it with
340 IPython. Normally IPython will load MathJax from a CDN, but if you have a slow
340 IPython. Normally IPython will load MathJax from a CDN, but if you have a slow
341 network connection, or want to use LaTeX without an internet connection at all,
341 network connection, or want to use LaTeX without an internet connection at all,
342 we do include a utility to aid in downloading MathJax and installing it into
342 we do include a utility to aid in downloading MathJax and installing it into
343 the proper location::
343 the proper location::
344
344
345 from IPython.external.mathjax import install_mathjax
345 from IPython.external.mathjax import install_mathjax
346 install_mathjax()
346 install_mathjax()
347
347
348 This function does require write access to the IPython install directory, so if
348 This function does require write access to the IPython install directory, so if
349 you have a system-wide Python install, it may need to be done from a ``sudo
349 you have a system-wide Python install, it may need to be done from a ``sudo
350 python`` session.
350 python`` session.
351
351
352 Browser Compatibility
352 Browser Compatibility
353 ---------------------
353 ---------------------
354
354
355 The notebook uses WebSockets and the flexible box model. These features are
355 The notebook uses WebSockets and the flexible box model. These features are
356 available in the following browsers:
356 available in the following browsers:
357
357
358 * Chrome
358 * Chrome
359 * Safari
359 * Safari
360 * Firefox 6 and above
360 * Firefox 6 and above
361 * Firefox 4 and 5: These browsers have WebSocket support, but it is disabled by
361 * Firefox 4 and 5: These browsers have WebSocket support, but it is disabled by
362 default. If you're unable to upgrade, you can enable it by entering ``about:config``
362 default. If you're unable to upgrade, you can enable it by entering ``about:config``
363 in the URL bar and then setting ``network.websocket.enabled`` and
363 in the URL bar and then setting ``network.websocket.enabled`` and
364 ``network.websocket.override-security-block`` to ``true``.
364 ``network.websocket.override-security-block`` to ``true``.
365
365
366 Internet Explorer 9 does not support WebSockets or the flexible box model, but
366 Internet Explorer 9 does not support WebSockets or the flexible box model, but
367 these features should appear in Internet Explorer 10.
367 these features should appear in Internet Explorer 10.
368
368
369
369
370 .. _ZeroMQ: http://www.zeromq.org
370 .. _ZeroMQ: http://www.zeromq.org
371 .. _PyZMQ: https://github.com/zeromq/pyzmq
371 .. _PyZMQ: https://github.com/zeromq/pyzmq
372 .. _paramiko: https://github.com/robey/paramiko
372 .. _paramiko: https://github.com/robey/paramiko
373 .. _pygments: http://pygments.org
373 .. _pygments: http://pygments.org
374 .. _pexpect: http://www.noah.org/wiki/Pexpect
374 .. _pexpect: http://www.noah.org/wiki/Pexpect
375 .. _Tornado: http://www.tornadoweb.org
375 .. _Tornado: http://www.tornadoweb.org
376 .. _MathJax: http://www.mathjax.org
376 .. _MathJax: http://www.mathjax.org
General Comments 0
You need to be logged in to leave comments. Login now