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/.
$ # 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'
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
If you run into bugs, you can file them in our issue tracker.
You can also join
#pypa-dev on Freenode to ask questions or
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.