Updated scripts
This commit is contained in:
3
packages/XCB.sh
Executable file
3
packages/XCB.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev
|
||||
3
packages/cleanup.sh
Executable file
3
packages/cleanup.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
pip freeze --user | xargs pip uninstall -y
|
||||
@ -1,13 +1,42 @@
|
||||
#!/bin/bash
|
||||
|
||||
maj=$(python3 -c"import sys; print(sys.version_info.major)")
|
||||
mjn=$(python3 -c"import sys; print(sys.version_info.minor)")
|
||||
|
||||
# Python 3
|
||||
echo "Python 3 packages:"
|
||||
sudo apt-get -y --ignore-missing install python3-all python3-dev python3-tk idle3 python3-pip python3-serial python3-can python3-protobuf python3-numpy python3-pil.imagetk python3-gi python3-pyside2.*
|
||||
sudo apt-get -y --ignore-missing install gpsd gpsbabel libgps-dev
|
||||
sudo apt-get -y remove python3-gps python3-matplotlib
|
||||
# packages needed
|
||||
sudo apt-get -y --ignore-missing install python3-all python3-dev python3-tk idle3 python3-pip pipx
|
||||
sudo apt-get -y --ignore-missing install python3-ipython python3-debugpy
|
||||
sudo apt-get -y --ignore-missing install python3-virtualenv python3-virtualenvwrapper
|
||||
sudo apt-get -y --ignore-missing install python3-pyside2.* python3-tk python3-pil.imagetk
|
||||
sudo apt-get -y --ignore-missing install python3-tqdm python3-nmea2 python3-yaml
|
||||
sudo apt-get -y --ignore-missing install python3-can python3-protobuf python3-scapy python3-serial
|
||||
sudo apt-get -y --ignore-missing install python3-numpy python3-pandas python3-plotly python3-scipy
|
||||
sudo apt-get -y --ignore-missing install python3-matplotlib rtklib rtklib-qt libasound2-dev
|
||||
sudo apt-get -y --ignore-missing install gpsd libgps-dev python3-gps python3-gpxpy gpsbabel
|
||||
echo
|
||||
|
||||
# Python addons
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install configparser pyside2 PySide6
|
||||
python3 -m pip install --upgrade pyserial numpy plotly scapy scipy gps gpxpy maidenhead pyyaml virtualenv virtualenvwrapper simpleaudio matplotlib
|
||||
echo "Python 3 modules:"
|
||||
#python3 -m pip install --upgrade pip
|
||||
|
||||
p1="pyinstaller devscripts"
|
||||
p2="simpleaudio"
|
||||
p3="pykml maidenhead"
|
||||
p4="pyside6"
|
||||
p5="pycrate"
|
||||
|
||||
for mod in $p1 $p2 $p3 $p4 $p5
|
||||
do
|
||||
echo "Installing: $mod"
|
||||
echo "-------------------"
|
||||
if [ $mjn -lt 12 ]; then
|
||||
python3 -m pip install --upgrade $mod
|
||||
else
|
||||
python3 -m pip install --upgrade $mod --break-system-packages
|
||||
fi
|
||||
echo "==================="
|
||||
echo
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user