diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-05-13 01:55:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 01:55:46 +0300 |
commit | d43550293244d747235f1f1a91b2856bb7d1397b (patch) | |
tree | 7c857d37efbb18f856331efb5c4dd950d2a65ca6 | |
parent | 3e7c0308db4005644b21c0626ba6239271cf04cc (diff) |
Python: Use exposed installPath argument (#13)
use exposed installPath arg
-rw-r--r-- | src/python/feature.json | 2 | ||||
-rw-r--r-- | v1/feature-scripts.env | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/python/feature.json b/src/python/feature.json index 18728f3..b387e27 100644 --- a/src/python/feature.json +++ b/src/python/feature.json @@ -19,7 +19,7 @@ "default": false, "description": "Optimize Python for performance when compiled (slow)" }, - "install_path": { + "installPath": { "type": "string", "default": "/usr/local/python", "description": "The path where python will be installed." diff --git a/v1/feature-scripts.env b/v1/feature-scripts.env index 848302b..0cf7266 100644 --- a/v1/feature-scripts.env +++ b/v1/feature-scripts.env @@ -10,7 +10,7 @@ _BUILD_ARG_AWS_CLI="./aws-cli/install.sh ${_B _BUILD_ARG_AZURE_CLI="./az-cli/install.sh ${_BUILD_ARG_AZURE_CLI_VERSION:-latest}" _BUILD_ARG_SSH="./sshd/install.sh" _BUILD_ARG_NODE="./node/install.sh /usr/local/share/nvm ${_BUILD_ARG_NODE_VERSION:-lts/*} automatic true ${_BUILD_ARG_NODE_NODEGYPDEPENDENCIES:-true}" -_BUILD_ARG_PYTHON="./python/install.sh ${_BUILD_ARG_PYTHON_VERSION:-latest} /usr/local/python /usr/local/py-utils automatic true ${_BUILD_ARG_PYTHON_INSTALLTOOLS:-true} true ${_BUILD_ARG_PYTHON_OPTIMIZE:-false}" +_BUILD_ARG_PYTHON="./python/install.sh ${_BUILD_ARG_PYTHON_VERSION:-latest} ${_BUILD_ARG_PYTHON_INSTALLPATH:-/usr/local/python} /usr/local/py-utils automatic true ${_BUILD_ARG_PYTHON_INSTALLTOOLS:-true} true ${_BUILD_ARG_PYTHON_OPTIMIZE:-false}" _BUILD_ARG_GOLANG="./go/install.sh ${_BUILD_ARG_GOLANG_VERSION:-latest}" _BUILD_ARG_JAVA="./java/wrapper.sh ${_BUILD_ARG_JAVA_VERSION:-latest}" _BUILD_ARG_GRADLE="./gradle/install.sh ${_BUILD_ARG_GRADLE_VERSION:-latest}" |