diff options
| author | Can Eldem <celdem@gitlab.com> | 2019-12-20 09:13:23 +0000 |
|---|---|---|
| committer | Can Eldem <celdem@gitlab.com> | 2019-12-20 09:13:23 +0000 |
| commit | ebc78c8db5734899c310e24fcefd5730dbdca1f2 (patch) | |
| tree | 74ac3b8a62dd6f7c28496e2a770c2f2eb4a8837f /run.sh | |
| parent | 449aa3730bd3df1be035052d081dc5dc3819339d (diff) | |
| parent | a374335788042e69c57f8d0b1c798285611ba009 (diff) | |
Merge branch '35629-update-pip' into 'master'v2.2.2
Install the latest pip and setuptools
See merge request gitlab-org/security-products/license-management!99
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -70,14 +70,12 @@ case "$LM_PYTHON_VERSION" in "2"|"2.7") echo "using python $LM_PYTHON_VERSION" LICENSE_FINDER_CLI_OPTS="--python-version 2 $LICENSE_FINDER_CLI_OPTS" - pip --version + pip2 --version ;; "3"|"3.5") echo "switching to python $LM_PYTHON_VERSION" LICENSE_FINDER_CLI_OPTS="--python-version 3 $LICENSE_FINDER_CLI_OPTS" - pip3 install --upgrade --no-index -f "file://$LOCAL_PYPI_INDEX" "pip==$VERSION_OF_PIP" - update-alternatives --install /usr/bin/python python /usr/bin/python3.5 1 pip --version ;; |
