19 lines
738 B
Bash
19 lines
738 B
Bash
#!/bin/bash
|
|
|
|
echo "Installing ITB tool..."
|
|
python3 -m venv "/root/venvs/itb"
|
|
/root/venvs/itb/bin/pip install -e /root/sia/tools/itb/
|
|
echo "export PATH=\"/root/venvs/itb/bin/:\$PATH\"" > "/etc/profile.d/venv_itb.sh" \
|
|
source "/etc/profile.d/venv_itb.sh"
|
|
|
|
echo "Installing Train tool..."
|
|
python3 -m venv "/root/venvs/train"
|
|
/root/venvs/train/bin/pip install -e /root/sia/tools/train/
|
|
echo "export PATH=\"/root/venvs/train/bin/:\$PATH\"" > "/etc/profile.d/venv_train.sh" \
|
|
source "/etc/profile.d/venv_train.sh"
|
|
|
|
echo "Installing SIA core..."
|
|
python3 -m venv "/root/venvs/sia"
|
|
/root/venvs/sia/bin/pip install -e /root/sia/
|
|
echo "export PATH=\"/root/venvs/sia/bin/:\$PATH\"" > "/etc/profile.d/venv_sia.sh" \
|
|
source "/etc/profile.d/venv_sia.sh" |