diff options
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/feature.json | 1 | ||||
-rw-r--r-- | src/python/install.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/python/feature.json b/src/python/feature.json index da77899..e481977 100644 --- a/src/python/feature.json +++ b/src/python/feature.json @@ -8,6 +8,7 @@ "enum": [ "latest", "os-provided", + "none", "3.10", "3.9", "3.8", diff --git a/src/python/install.sh b/src/python/install.sh index bdfc4d8..49018af 100644 --- a/src/python/install.sh +++ b/src/python/install.sh @@ -322,7 +322,7 @@ chown :pipx ${PIPX_HOME} ${PIPX_BIN_DIR} chmod g+s ${PIPX_HOME} ${PIPX_BIN_DIR} # Update pip if not using os provided python -if [ ${PYTHON_VERSION} != "os-provided" ] && [ ${PYTHON_VERSION} != "system" ]; then +if [ ${PYTHON_VERSION} != "os-provided" ] && [ ${PYTHON_VERSION} != "system" ] && [ ${PYTHON_VERSION} != "none" ]; then echo "Updating pip..." ${PYTHON_INSTALL_PATH}/bin/python3 -m pip install --no-cache-dir --upgrade pip fi |