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

Add link pip to pip3 and undo delete __pycache__

parent f1edffb7
No related branches found
No related tags found
No related merge requests found
...@@ -22,10 +22,9 @@ workflow: ...@@ -22,10 +22,9 @@ workflow:
# Upgrade pip # Upgrade pip
- unset PYTHONPATH - unset PYTHONPATH
- ${PYTHON_ROOT}/bin/pip3 install -q --no-cache-dir --upgrade pip - ${PYTHON_ROOT}/bin/pip3 install -q --no-cache-dir --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'
# Clean pycache
- find ${PYTHON_ROOT} -iname __pycache__ -print0 | xargs -0 rm -rf
artifacts: artifacts:
name: ${NAME} name: ${NAME}
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment