mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-04-06 14:13:59 +08:00
don't install spidev on PC (#2360)
* don't install spidev on PC * ugh base ubuntu
This commit is contained in:
@@ -14,6 +14,9 @@ classifiers = [
|
||||
dependencies = [
|
||||
"libusb1",
|
||||
"opendbc @ git+https://github.com/commaai/opendbc.git@master#egg=opendbc",
|
||||
|
||||
# runtime dependency on comma four
|
||||
#"spidev; platform_system == 'Linux'",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
@@ -29,7 +32,6 @@ dev = [
|
||||
"ruff",
|
||||
"mypy",
|
||||
"setuptools",
|
||||
"spidev; platform_system == 'Linux'",
|
||||
"gcc-arm-none-eabi @ git+https://github.com/commaai/dependencies.git@releases#subdirectory=gcc-arm-none-eabi",
|
||||
"cppcheck @ git+https://github.com/commaai/dependencies.git@releases#subdirectory=cppcheck",
|
||||
]
|
||||
|
||||
5
setup.sh
5
setup.sh
@@ -17,10 +17,9 @@ elif [[ $PLATFORM == "Linux" ]]; then
|
||||
fi
|
||||
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
curl ca-certificates \
|
||||
make g++ git \
|
||||
curl ca-certificates gcc git \
|
||||
libusb-1.0-0 \
|
||||
python3-dev python3-pip python3-venv
|
||||
python3-dev
|
||||
else
|
||||
echo "WARNING: unsupported platform. skipping apt/brew install."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user