Skip to content
Go to file

README.rst 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


$ curl -sSL -o
$ python

Upon execution, will install pip, setuptools and wheel in the current Python environment.

It is possible to provide additional arguments to the underlying script. These are passed through to the underlying pip install command, and can thus be used to constraint the versions of the packages, or to pass other pip options such as --no-index.

$ python "pip < 21.0" "setuptools < 50.0" "wheel < 1.0"
$ python --no-index --find-links=/local/copies options

This script also has it's own options, which control which packages it will install.

If set, do not attempt to install setuptools.
If set, do not attempt to install wheel.


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

Install the dependencies from requirements.txt to get setup with the repo. You may want to perform something like:

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

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 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 PSF Code of Conduct.

You can’t perform that action at this time.