summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-24 17:52:59 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-24 17:52:59 +0200
commitb5d8fe099d866e0774dfcaac24917e83de993028 (patch)
tree77c1e4e9d4beb8e6a713390e9fbc047e86a3d498 /ci
parent8e55abc784276aaa3dacd30b69a4729a0a439436 (diff)
[build.sh] Add local python bin dir to PATH
JIRA: FUEL-383 Change-Id: I5596ed6139317d72fceae3af89e71181aefbd6a3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/build.sh b/ci/build.sh
index cb9fe6bcb..3c8a5e7e9 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -58,6 +58,8 @@ make -C "${MCP_REPO_ROOT_PATH}/mcp/patches" deepclean patches-import
pushd "${DEPLOY_DIR}" > /dev/null
# Install distro packages and pip-managed prerequisites
+PYTHON_BIN_PATH="$(python -m site --user-base)/bin"
+PATH="$PATH:$PYTHON_BIN_PATH"
notify "[NOTE] Installing required build-time distro and pip pkgs" 2
jumpserver_pkg_install 'build'
pip install pipenv --user