Skip to content

Commit

Permalink
Do not force updating pip and setuptools as it may cause problems whe…
Browse files Browse the repository at this point in the history
…n building packages for older Python versions.
  • Loading branch information
michael-rapp committed Apr 11, 2022
1 parent 1248744 commit 0e1450b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ VENV_CREATE = ${PYTHON} -m venv ${VENV_DIR}
VENV_ACTIVATE = $(if ${IS_WIN},${PS} ${VENV_DIR}/Scripts/activate.bat,. ${VENV_DIR}/bin/activate)
VENV_DEACTIVATE = $(if ${IS_WIN},${PS} ${VENV_DIR}/Scripts/deactivate.bat,deactivate)
PIP_INSTALL = python -m pip install --prefer-binary
PIP_UPGRADE = ${PIP_INSTALL} --upgrade
MESON_SETUP = meson setup
MESON_COMPILE = meson compile
MESON_INSTALL = meson install
Expand Down Expand Up @@ -103,8 +102,6 @@ venv:
@echo Creating virtual Python environment...
${VENV_CREATE}
${VENV_ACTIVATE} \
&& ${PIP_UPGRADE} pip \
&& ${PIP_UPGRADE} setuptools \
&& ${PIP_INSTALL} -r ${PYTHON_SRC_DIR}/requirements.txt \
&& ${VENV_DEACTIVATE}

Expand Down

0 comments on commit 0e1450b

Please sign in to comment.