Merge "Add global venv enable/disable knob"
This commit is contained in:
@@ -151,9 +151,12 @@ EOF
|
||||
else
|
||||
exit_distro_not_supported "mysql installation"
|
||||
fi
|
||||
}
|
||||
|
||||
function install_database_python_mysql {
|
||||
# Install Python client module
|
||||
pip_install MySQL-python
|
||||
ADDITIONAL_VENV_PACKAGES+=",MySQL-python"
|
||||
}
|
||||
|
||||
function database_connection_url_mysql {
|
||||
|
||||
@@ -100,9 +100,12 @@ EOF
|
||||
else
|
||||
exit_distro_not_supported "postgresql installation"
|
||||
fi
|
||||
}
|
||||
|
||||
function install_database_python_postgresql {
|
||||
# Install Python client module
|
||||
pip_install psycopg2
|
||||
ADDITIONAL_VENV_PACKAGES+=",psycopg2"
|
||||
}
|
||||
|
||||
function database_connection_url_postgresql {
|
||||
|
||||
Reference in New Issue
Block a user