Install pip dependencies

working-installer
Nicolas Arenas 2024-11-20 13:49:05 +01:00
parent 4916d15736
commit 0a0bd59f8d
2 changed files with 11 additions and 0 deletions

View File

@ -15,6 +15,14 @@ install_packages() {
apt-get install -y curl jq unzip python3 python3-git
}
create_python_venv() {
apt-get install -y python3-venv
python3 -m venv /tmp/oginstall/venv
source /tmp/oginstall/venv/bin/activate
pip install -r /tmp/oginstall/requirements.txt
}
download_installer() {
rm -f /tmp/oginstaller.zip
@ -49,6 +57,7 @@ launch_component_installer() {
install_packages
download_installer
extract_installer
create_python_venv
create_questions
launch_component_installer

View File

@ -0,0 +1,2 @@
GitPython
npyscreen