Show More
@@ -81,19 +81,19 b" That's it." | |||||
81 | Installation from source |
|
81 | Installation from source | |
82 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
|
82 | ~~~~~~~~~~~~~~~~~~~~~~~~ | |
83 |
|
83 | |||
84 | If you don't want to use :command:`pip`, or don't have it installed, |
|
84 | To install IPython from source, | |
85 | grab the latest stable tarball of IPython `from PyPI |
|
85 | grab the latest stable tarball of IPython `from PyPI | |
86 | <https://pypi.python.org/pypi/ipython>`__. Then do the following: |
|
86 | <https://pypi.python.org/pypi/ipython>`__. Then do the following: | |
87 |
|
87 | |||
88 | .. code-block:: bash |
|
88 | .. code-block:: bash | |
89 |
|
89 | |||
90 |
|
|
90 | tar -xzf ipython-5.1.0.tar.gz | |
91 |
|
|
91 | cd ipython-5.1.0 | |
92 | $ pip install . |
|
92 | # The [test] extra ensures test dependencies are installed too: | |
|
93 | pip install .[test] | |||
93 |
|
94 | |||
94 | Do not invoke ``setup.py`` directly as this can have undesirable consequences |
|
95 | Do not invoke ``setup.py`` directly as this can have undesirable consequences | |
95 |
for further upgrades. |
|
96 | for further upgrades. We do not recommend using ``easy_install`` either. | |
96 | have similar undesirable consequences. |
|
|||
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`. You can |
|
99 | permissions, you may need to run the last command with :command:`sudo`. You can | |
@@ -123,7 +123,7 b' Then do:' | |||||
123 |
|
123 | |||
124 | $ git clone https://github.com/ipython/ipython.git |
|
124 | $ git clone https://github.com/ipython/ipython.git | |
125 | $ cd ipython |
|
125 | $ cd ipython | |
126 | $ pip install -e . |
|
126 | $ pip install -e .[test] | |
127 |
|
127 | |||
128 | The :command:`pip install -e .` command allows users and developers to follow |
|
128 | The :command:`pip install -e .` command allows users and developers to follow | |
129 | the development branch as it changes by creating links in the right places and |
|
129 | the development branch as it changes by creating links in the right places and |
General Comments 0
You need to be logged in to leave comments.
Login now