* fix: fix pathing issues in ubuntu_setup.sh and openpilot_env.sh
Fixes:
- enter git tree before trying git operations in ubuntu_setup.sh
- extend PYTHONPATH instead of overwriting it in openpilot_env.sh
- fix pyenv pathing with workaround in openpilot_env.sh
This also adds a newline before .bashrc extensions to visually separate
the additions from existing content.
* Update tools/ubuntu_setup.sh
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6d3c587564
* Setup script improvements to MacOS / Ubuntu
scons isn't actually required from brew install
pyenv init on all envs
added installation to .zshrc on macos with better dir logic
Using git to detect project root for ubuntu bashrc install
Check shell and determine correct RC file
Update tools/mac_setup.sh
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Sourcing RC file only if it's found
Removed unnecessary source of rc file
Submodules should never have been bumped...
Output the $RC_FILE when successfully installed
pyenv init every time, and skip RC install on CI
Confused bash conditionals, opposite of what I meant
* Was missing libusb on a fresh MacOS 10.15.6 install
Co-authored-by: Michael Honan <michaelhonan@Michaels-MacBook-Pro.local>
old-commit-hash: 4a9228fcc7