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:
Hervé Beraud 2019-08-05 16:41:22 +02:00
parent 89724bc4c5
commit 79f9889ca2
2 changed files with 2 additions and 2 deletions

View File

@ -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::

View File

@ -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