Skip to content
Snippets Groups Projects
Commit a127f6d0 authored by Martin Nolte's avatar Martin Nolte
Browse files

[cmake][python] use `pip --upgrade` on install

This patch will always upgrade the Python package upon `make install`.

Previously, the Python package was only installed, if the package had not
been installed before. This violates the principle of least surprise as we
intuitively except `make install` to overwrite all files during the install
procedure.
parent c30aa7a3
No related branches found
No related tags found
1 merge request!422[cmake][python] use `pip --upgrade` on install
Pipeline #
......@@ -84,7 +84,7 @@ function(dune_python_install_package)
endif()
set(INSTALL_CMDLINE -m pip install
"${INSTALL_OPTION}" "${WHEEL_OPTION}" "${EDIT_OPTION}" ${PYINST_ADDITIONAL_PIP_PARAMS}
"${INSTALL_OPTION}" --upgrade "${WHEEL_OPTION}" "${EDIT_OPTION}" ${PYINST_ADDITIONAL_PIP_PARAMS}
"${PYINST_FULLPATH}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment