mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
correct code-block highlighting and link formatting
This commit is contained in:
@@ -22,14 +22,15 @@ command. It also enables you to add this network installation capability to
|
||||
your own Python software with very little work.
|
||||
|
||||
To obtain the latest version of Distribute for Linux, run the python script
|
||||
available here:
|
||||
http://python-distribute.org/distribute_setup.py
|
||||
available here: `python-distribute <http://python-distribute.org/distribute_setup.py>`_
|
||||
|
||||
The new``easy_install`` command you have available is considered by many to be
|
||||
deprecated, so we will install its replacement: **pip**. Pip allows for
|
||||
uninstallation of packages, and is actively maintained, unlike easy_install.
|
||||
|
||||
To install pip, simply open a command prompt and run::
|
||||
To install pip, simply open a command prompt and run
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ easy_install pip
|
||||
|
||||
@@ -38,7 +39,9 @@ Virtualenv
|
||||
----------
|
||||
|
||||
After Distribute & Pip, the next development tool that you should install is
|
||||
`virtualenv <http://pypi.python.org/pypi/virtualenv/>`_. Use pip::
|
||||
`virtualenv <http://pypi.python.org/pypi/virtualenv/>`_. Use pip
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install virtualenv
|
||||
|
||||
@@ -51,7 +54,9 @@ framework and application will have many dependencies.
|
||||
|
||||
To set up a new Python environment, change the working directory to where ever
|
||||
you want to store the environment, and run the virtualenv utility in your
|
||||
project's directory::
|
||||
project's directory
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ virtualenv --distribute venv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user