2011-04-04 14:04:06 +02:00
|
|
|
Installation instructions
|
|
|
|
=========================
|
2011-03-15 06:43:03 +01:00
|
|
|
|
2011-04-04 13:54:37 +02:00
|
|
|
Using installer
|
|
|
|
---------------
|
2011-03-15 06:43:03 +01:00
|
|
|
|
2011-04-04 13:54:37 +02:00
|
|
|
Download `get-pip.py <https://github.com/pypa/pip/raw/master/contrib/get-pip.py>`_
|
|
|
|
and execute it, using the Python interpreter of your choice::
|
|
|
|
|
|
|
|
$ curl -O https://github.com/pypa/pip/raw/master/contrib/get-pip.py
|
|
|
|
$ python get-pip.py
|
|
|
|
|
|
|
|
This may have to be run as root.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Make sure you have `distribute <http://pypi.python.org/pypi/distribute>`_
|
|
|
|
installed before using the installer!
|
2011-03-15 06:43:03 +01:00
|
|
|
|
|
|
|
Using source
|
|
|
|
------------
|
|
|
|
You can find the source on PyPi: http://pypi.python.org/pypi/pip::
|
|
|
|
|
|
|
|
$ tar xvfz pip-*.*.*.tar.gz
|
|
|
|
$ cd pip-*.*.*
|
|
|
|
$ python setup.py install # may need to be root
|
|
|
|
|
|
|
|
Installing development version
|
|
|
|
------------------------------
|
|
|
|
|
|
|
|
First you will need to clone the git repo::
|
|
|
|
|
|
|
|
$ git clone https://github.com/pypa/pip.git
|
|
|
|
|
|
|
|
Now we can install from the repo::
|
|
|
|
|
|
|
|
$ cd pip
|
|
|
|
$ python setup.py install # may need to be root
|