Install pip dependencies
parent
4916d15736
commit
0a0bd59f8d
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
GitPython
|
||||
npyscreen
|
Loading…
Reference in New Issue