Add function for installing pip packages in the venv

This commit is contained in:
Devon Mackay 2018-07-10 14:55:02 -04:00
parent 0535a45bd9
commit 2864300a4e

View File

@ -11,6 +11,14 @@ check_system_pip_for () {
return $?
}
pip_install () {
local packages="${1}"
local flags="${2}"
run_command "pip install ${flags} ${packages}"
return $?
}
# Used whenever an environment sensitive command is being run
run_command () {
local cmd="${1}"