This pull request moves PYTHON_EXTERNALLY_MANAGED and PIP_BREAK_SYSTEM_PACKAGES into Makefile.install to avoid code duplication and adds PIPFLAGS variable to enable specifying pip options during installation. This is particularly useful for packaging where it is common for pip install to run in an environment with pre-installed dependencies and without internet.
This pull request moves
PYTHON_EXTERNALLY_MANAGED
andPIP_BREAK_SYSTEM_PACKAGES
intoMakefile.install
to avoid code duplication and addsPIPFLAGS
variable to enable specifying pip options during installation. This is particularly useful for packaging where it is common forpip install
to run in an environment with pre-installed dependencies and without internet.Related to https://github.com/checkpoint-restore/criu/issues/2404