Create a python installer for required deps

This commit is contained in:
Aaditya Watwe 2024-10-09 13:36:44 -07:00
parent 4352129c4d
commit 2dff26c0fc

View 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"