mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
setup cleanup (#29419)
* setup cleanup * update ci * update ci * export variables for mac os * check env * what is in the profile script? * install pyenv the same everywhere * temporarily disable brew cache * temporarily disable brew cache * try fixing pyenv virtualenv-init * try this * inject shims path earlier * try alternate install method * switch back to brew install * try eval "$(pyenv init --path)" * add eval "\$(pyenv init --path)" old-commit-hash: ad32816fd6bdd744e7f596209822707494d3ba5e
This commit is contained in:
+1
-8
@@ -46,6 +46,7 @@ brew "libtool"
|
||||
brew "llvm"
|
||||
brew "openssl@3.0"
|
||||
brew "pyenv"
|
||||
brew "pyenv-virtualenv"
|
||||
brew "qt@5"
|
||||
brew "zeromq"
|
||||
brew "gcc@12"
|
||||
@@ -69,16 +70,8 @@ export CPPFLAGS="$CPPFLAGS -I${BREW_PREFIX}/opt/openssl@3/include"
|
||||
export PYCURL_CURL_CONFIG=/usr/bin/curl-config
|
||||
export PYCURL_SSL_LIBRARY=openssl
|
||||
|
||||
# openpilot environment
|
||||
if [ -z "$OPENPILOT_ENV" ] && [ -n "$RC_FILE" ] && [ -z "$CI" ]; then
|
||||
echo "source $ROOT/tools/openpilot_env.sh" >> $RC_FILE
|
||||
source "$ROOT/tools/openpilot_env.sh"
|
||||
echo "Added openpilot_env to RC file: $RC_FILE"
|
||||
fi
|
||||
|
||||
# install python dependencies
|
||||
$DIR/install_python_dependencies.sh
|
||||
eval "$(pyenv init --path)"
|
||||
echo "[ ] installed python dependencies t=$SECONDS"
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user