fix pip to not use --system flag
@@ -7,7 +7,6 @@ CD := cd
LN := ln -sf
CMAKE := cmake
PIP_USER_FLAG = --user
-PIP_SYSTEM_FLAG = --system
PIP_INSTALL_REQUIREMENTS := pip3 install -Ir
PYTHON_BUILD_PACKAGE = python3 setup.py build -b ../$(PYTHON_BUILD_DIR)
RM_DIR := rm -r
@@ -106,7 +105,7 @@ python_build : $(PYTHON_SETUP_FILE)
# install python requirements for system
python_requirements_system : $(PYTHON_REQUIREMENTS_FILE)
- $(PIP_INSTALL_REQUIREMENTS) $(PYTHON_REQUIREMENTS_FILE) $(PIP_SYSTEM_FLAG)
+ $(PIP_INSTALL_REQUIREMENTS) $(PYTHON_REQUIREMENTS_FILE)
# install python requirements for user
python_requirements_user : $(PYTHON_REQUIREMENTS_FILE)
