Skip to content
Snippets Groups Projects
Commit 3348efdf authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Update .gitlab-ci.yml

parent f87447a6
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,7 @@ workflow: ...@@ -22,8 +22,7 @@ workflow:
- conan install python/${PYTHON_VERSION}@soleil/stable --install-folder ${PYTHON_ROOT} - conan install python/${PYTHON_VERSION}@soleil/stable --install-folder ${PYTHON_ROOT}
# Upgrade pip # Upgrade pip
- unset PYTHONPATH - unset PYTHONPATH
- ${PYTHON_ROOT}/bin/pip3 install -q --no-cache-dir --upgrade pip - ${PYTHON_ROOT}/bin/python -m pip install -q --upgrade pip
- ln -s pip3 ${PYTHON_ROOT}/bin/pip
# Fix python shebang to make it independent of install path # Fix python shebang to make it independent of install path
- grep -I -r -l "^#\!.*/bin/python.*$" ${PYTHON_ROOT} | xargs sed -i '1c\#\!/usr/bin/env python' - grep -I -r -l "^#\!.*/bin/python.*$" ${PYTHON_ROOT} | xargs sed -i '1c\#\!/usr/bin/env python'
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment