Bootstrapping the pip installer
Prefer to use ensurepip instead of the deprecated easy_install https://docs.python.org/3/library/ensurepip.html https://setuptools.readthedocs.io/en/latest/easy_install.html
This commit is contained in:
parent
89724bc4c5
commit
79f9889ca2
2
Makefile
2
Makefile
@ -93,7 +93,7 @@ PVER=0.10.0
|
||||
python/.ok:
|
||||
(cd python && \
|
||||
virtualenv venv && \
|
||||
./venv/bin/easy_install pip && \
|
||||
./venv/bin/python -m ensurepip && \
|
||||
./venv/bin/pip install pika==$(PVER) && \
|
||||
touch .ok)
|
||||
clean::
|
||||
|
@ -13,7 +13,7 @@ To run this code you need to install the `pika` package version `1.0.0` or later
|
||||
|
||||
You may first need to run
|
||||
|
||||
easy_install pip
|
||||
python -m ensurepip
|
||||
|
||||
|
||||
## Code
|
||||
|
Loading…
Reference in New Issue
Block a user