Skip to content

Commit b6a883f

Browse files
committed
Upgrade setuptools, wheel and pip
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 9077cee commit b6a883f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,18 @@ endif
4949

5050
virtualenv:
5151
@echo "-> Bootstrap the virtualenv with PYTHON_EXE=${PYTHON_EXE}"
52+
@$(MAKE) upgrade-tools
5253
@${PYTHON_EXE} ${VIRTUALENV_PYZ} --never-download --no-periodic-update ${VENV}
5354

5455
conf: virtualenv
5556
@echo "-> Install dependencies"
5657
@${ACTIVATE} pip install -e . -c requirements.txt
5758

59+
upgrade-tools:
60+
@echo "-> Upgrade pip / setuptools / wheel (Python 3.12 safe)"
61+
@${ACTIVATE} python -m pip install --upgrade --force-reinstall \
62+
pip setuptools wheel packaging
63+
5864
dev: virtualenv
5965
@echo "-> Configure and install development dependencies"
6066
@${ACTIVATE} pip install -e .[dev] -c requirements.txt

0 commit comments

Comments
 (0)