Python
Switch branches/tags
Nothing to show
Latest commit 430ba37 Nov 6, 2016 @dstufft dstufft Update get-pip.py
Permalink
Failed to load latest commit information.
2.6 Update get-pip.py Nov 6, 2016
3.2 Fix a mistake from the import from pip Jan 20, 2016
tasks Handle newer invoke Nov 6, 2016
README.rst Add a README.rst Jan 20, 2016
get-pip.py Update get-pip.py Nov 6, 2016
template.py Fix a mistake from the import from pip Jan 20, 2016

README.rst

get-pip.py

get-pip.py is a bootstrapping script that enables users to install pip, setuptools, and wheel in Python environments that don't already have them. You should not directly reference the files located in this repository and instead use the versions located at https://bootstrap.pypa.io/.

Usage

$ # Install the latest version of pip
$ curl https://bootstrap.pypa.io/get-pip.py | python
$ # Install the latest version of pip, supported by a legacy Python
$ curl https://bootstrap.pypa.io/3.2/get-pip.py | python3.2
$ # Install a specific version of pip
$ curl https://bootstrap.pypa.io/get-pip.py | python - 'pip==8.0.0'

Development

Most of the work of get-pip.py comes from the copy of pip that is bundled inside of it. However, there is a tiny bit of glue code located inside of template.py to enable get-pip.py to actually work.

Any pull request should include regenerated files, which can be generated by running:

$ invoke generate

Discussion

If you run into bugs, you can file them in our issue tracker.

You can also join #pypa or #pypa-dev on Freenode to ask questions or get involved.

Code of Conduct

Everyone interacting in the get-pip project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.