Skip to content

Commit 6b6f49a

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

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ virtualenv:
5252
@${PYTHON_EXE} ${VIRTUALENV_PYZ} --download ${VENV}
5353
@$(MAKE) upgrade-tools
5454

55+
upgrade-tools:
56+
@echo "-> Upgrade pip / setuptools / wheel (Python 3.12 safe)"
57+
@${VENV}/bin/python -m pip install --upgrade --force-reinstall \
58+
"pip>=24" "setuptools>=69" "wheel>=0.42" packaging
59+
5560
conf: virtualenv
5661
@echo "-> Install dependencies"
5762
@${ACTIVATE} pip install -e . -c requirements.txt
5863

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-
6464
dev: virtualenv
6565
@echo "-> Configure and install development dependencies"
6666
@${ACTIVATE} pip install -e .[dev] -c requirements.txt

0 commit comments

Comments
 (0)