mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Create a python installer for required deps
This commit is contained in:
parent
4352129c4d
commit
2dff26c0fc
11
Tools/environment_install/install-python.sh
Executable file
11
Tools/environment_install/install-python.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
PYTHON=$(which python)
|
||||
echo "Installing all sub-libraries with $PYTHON"
|
||||
|
||||
git submodule update --init --recursive
|
||||
$PYTHON -m ensurepip
|
||||
$PYTHON -m pip install --upgrade pip setuptools wheel
|
||||
$PYTHON -m pip install --upgrade empy==3.3.4 pexpect
|
||||
find . | egrep -v '/build/' | grep setup.py | xargs readlink -e | xargs dirname | xargs -I{} bash -c "pushd {} ; $PYTHON -m pip install . ; popd"
|
Loading…
Reference in New Issue
Block a user