mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 05:43:33 +08:00
setup: remove Python 2 requirements for Ubuntu
This commit is contained in:
@@ -96,10 +96,6 @@ sudo apt-get -yy --quiet --no-install-recommends install \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python-setuptools \
|
|
||||||
python \
|
|
||||||
python-dev \
|
|
||||||
python-pip \
|
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
rsync \
|
rsync \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -120,13 +116,6 @@ echo
|
|||||||
echo "Installing PX4 Python3 dependencies"
|
echo "Installing PX4 Python3 dependencies"
|
||||||
pip3 install --user -r ${DIR}/requirements.txt
|
pip3 install --user -r ${DIR}/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
# Python2 dependencies
|
|
||||||
echo
|
|
||||||
echo "Installing PX4 Python2 dependencies"
|
|
||||||
pip install --user -r ${DIR}/requirements.txt
|
|
||||||
|
|
||||||
|
|
||||||
# NuttX toolchain (arm-none-eabi-gcc)
|
# NuttX toolchain (arm-none-eabi-gcc)
|
||||||
if [[ $INSTALL_NUTTX == "true" ]]; then
|
if [[ $INSTALL_NUTTX == "true" ]]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user