mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
tools/setup: do not change global state (#22735)
* tools/setup: do not change global state 1. download packages in the venv 2. never change global python version * update_requirements.sh: install to system if used by comma employees * bump pip & pipenv versions * no --upgrade * run pre-commmit install in venv * for consistency Co-authored-by: predicate@bonzo <noreply@example.com> Co-authored-by: Willem Melching <willem.melching@gmail.com> old-commit-hash: 1d55f2f23e31dd64568d729ef33325cf229fdf51
This commit is contained in:
+2
-3
@@ -62,14 +62,13 @@ fi
|
||||
# install python
|
||||
PYENV_PYTHON_VERSION=$(cat $OP_ROOT/.python-version)
|
||||
pyenv install -s ${PYENV_PYTHON_VERSION}
|
||||
pyenv global ${PYENV_PYTHON_VERSION}
|
||||
pyenv rehash
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
pip install pipenv==2020.8.13
|
||||
pipenv install --system --deploy
|
||||
pipenv install --dev --deploy
|
||||
|
||||
echo
|
||||
echo "---- FINISH OPENPILOT SETUP ----"
|
||||
echo "Configure your active shell env by running:"
|
||||
echo "source $RC_FILE"
|
||||
echo "source $RC_FILE"
|
||||
|
||||
Reference in New Issue
Block a user