|
|
@@ -153,17 +153,33 @@ NAVOPTAPI_WHL := $(ROOT)/desktop/core/wheels/navoptapi-1.0.0-py3-none-any.whl
|
|
|
LOCAL_PY_BASE := $(shell $(SYS_PYTHON) -m site --user-base)
|
|
|
LOCAL_PY_BIN := $(LOCAL_PY_BASE)/bin
|
|
|
export PATH := $(PATH):$(LOCAL_PY_BIN)
|
|
|
-RELOCATABLE := $(shell which virtualenv-make-relocatable)
|
|
|
-
|
|
|
##############################
|
|
|
# Set specific versions for some libraries
|
|
|
##############################
|
|
|
PIP_VERSION := 22.2.2
|
|
|
VIRTUAL_ENV_RELOCATABLE_VERSION := 0.0.1
|
|
|
|
|
|
-# Set VIRTUAL_ENV_VERSION based on PYTHON_VER
|
|
|
-ifeq ($(PYTHON_VER),python3.9)
|
|
|
+##############################
|
|
|
+# Set specific versions for some libraries
|
|
|
+##############################
|
|
|
+ifeq ($(PYTHON_VER),python3.8)
|
|
|
+ PIP_VERSION := 22.2.2
|
|
|
+ VIRTUAL_ENV_VERSION := 20.24.4
|
|
|
+ VIRTUAL_ENV_RELOCATABLE_VERSION := 0.0.1
|
|
|
+ REQUIREMENT_PPC64LE_FILE := $(ROOT)/desktop/core/requirements_ppc64le.txt
|
|
|
+else ifeq ($(PYTHON_VER),python3.9)
|
|
|
+ PIP_VERSION := 22.2.2
|
|
|
VIRTUAL_ENV_VERSION := 20.19.0
|
|
|
-else
|
|
|
+ VIRTUAL_ENV_RELOCATABLE_VERSION := 0.0.1
|
|
|
+ REQUIREMENT_PPC64LE_FILE := $(ROOT)/desktop/core/requirements_ppc64le_py39.txt
|
|
|
+else ifeq ($(PYTHON_VER),python3.10)
|
|
|
+ PIP_VERSION := 22.2.2
|
|
|
VIRTUAL_ENV_VERSION := 20.24.4
|
|
|
+ VIRTUAL_ENV_RELOCATABLE_VERSION := 0.0.1
|
|
|
+else ifeq ($(PYTHON_VER),python3.11)
|
|
|
+ PIP_VERSION := 22.2.2
|
|
|
+ VIRTUAL_ENV_VERSION := 20.24.4
|
|
|
+ VIRTUAL_ENV_RELOCATABLE_VERSION := 0.0.1
|
|
|
endif
|
|
|
+
|
|
|
+RELOCATABLE := $(shell which virtualenv-make-relocatable)
|