installer: add packages needed to build python-networkmanager
pass the req file to pip (secuential install was needed for Vext) fixes #812 some systems don't have wheels and need compilation, the packages are needed for those cases
This commit is contained in:
parent
959f7e3401
commit
abb1f0d2d2
@ -9,7 +9,7 @@ FBTURBO="xserver-xorg-video-fbturbo"
|
|||||||
FBDEV="xserver-xorg-video-fbdev"
|
FBDEV="xserver-xorg-video-fbdev"
|
||||||
PYTHON="python3-virtualenv virtualenv python3-distutils"
|
PYTHON="python3-virtualenv virtualenv python3-distutils"
|
||||||
PYGOBJECT="libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0"
|
PYGOBJECT="libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0"
|
||||||
MISC="librsvg2-common libopenjp2-7 libatlas-base-dev wireless-tools"
|
MISC="librsvg2-common libopenjp2-7 libatlas-base-dev wireless-tools libdbus-glib-1-dev autoconf"
|
||||||
OPTIONAL="xserver-xorg-legacy fonts-nanum"
|
OPTIONAL="xserver-xorg-legacy fonts-nanum"
|
||||||
|
|
||||||
# moonraker will check this list when updating
|
# moonraker will check this list when updating
|
||||||
@ -114,15 +114,13 @@ create_virtualenv()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
source ${KSENV}/bin/activate
|
source ${KSENV}/bin/activate
|
||||||
while read requirements; do
|
pip --disable-pip-version-check install -r ${KSPATH}/scripts/KlipperScreen-requirements.txt
|
||||||
pip --disable-pip-version-check install $requirements
|
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
echo "Error: pip install exited with status code $?"
|
echo "Error: pip install exited with status code $?"
|
||||||
echo "Unable to install dependencies, aborting install."
|
echo "Unable to install dependencies, aborting install."
|
||||||
deactivate
|
deactivate
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done < ${KSPATH}/scripts/KlipperScreen-requirements.txt
|
|
||||||
deactivate
|
deactivate
|
||||||
echo_ok "Virtual enviroment created"
|
echo_ok "Virtual enviroment created"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user