Commit Graph

7 Commits

Author SHA1 Message Date
eFini
a87190342b macOS: Fix missing pip command issue. (#22924)
* Fixed missing pip command issue.

* add path to openpilot_env.sh for mac
2021-11-17 11:23:05 +01:00
orphen
6d3c587564 Fix path issues in ubuntu_setup.sh and openpilot_env.sh (#21380)
* 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>
2021-06-23 13:31:28 -07:00
Michael Honan
4a9228fcc7 Setup script improvements to MacOS / Ubuntu (#2012)
* 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>
2020-08-14 18:03:55 -07:00
Adeeb Shihadeh
a415fe1ebe capnp is no longer in external 2020-05-17 13:32:26 -07:00
George Hotz
2a199f867d mac fixes 2020-02-29 18:30:44 -08:00
George Hotz
3693aa56a7 setup ubuntu improvements 2020-02-29 14:50:51 -08:00
Comma User
756a6d6ed8 it's a real script now 2020-02-29 01:42:38 -08:00