mirror of
https://github.com/akuker/RASCSI.git
synced 2026-04-21 18:17:07 +00:00
Use more system deb packages for Python dependencies
Leveraging the Debian packaging allows us to preload more packages in the release image, while speeding up the initial pip install process when creating the venv We also cut down on python package version upgrades maintenance overhead Now the Web UI and OLED startup scripts are flagged to use system libraries when creating venvs
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# commented out packages are system python libraries
|
||||
Adafruit-Blinka==8.68.0
|
||||
adafruit-circuitpython-busdevice==5.2.14
|
||||
adafruit-circuitpython-connectionmanager==3.1.6
|
||||
@@ -8,12 +9,12 @@ adafruit-circuitpython-typing==1.12.3
|
||||
adafruit-platformdetect==3.85.0
|
||||
Adafruit-PureIO==1.1.11
|
||||
pillow==11.3.0
|
||||
protobuf==3.20.3
|
||||
# protobuf==3.20.3
|
||||
pyftdi==0.55.0
|
||||
pyserial==3.5
|
||||
pyusb==1.3.1
|
||||
rpi-ws281x==5.0.0
|
||||
RPi.GPIO==0.7.1
|
||||
sysv-ipc==1.1.0
|
||||
typing-extensions==4.15.0
|
||||
Unidecode==1.3.6
|
||||
# RPi.GPIO==0.7.1
|
||||
# sysv-ipc==1.1.0
|
||||
# typing-extensions==4.15.0
|
||||
# Unidecode==1.3.6
|
||||
|
||||
@@ -82,7 +82,7 @@ fi
|
||||
# Create the venv if it doesn't exist
|
||||
if ! test -e venv; then
|
||||
echo "Creating python venv for OLED Screen"
|
||||
python3 -m venv venv
|
||||
python3 -m venv venv --system-site-packages
|
||||
echo "Activating venv"
|
||||
source venv/bin/activate
|
||||
echo "Installing requirements.txt"
|
||||
|
||||
Reference in New Issue
Block a user