Add function for installing pip packages in the venv
This commit is contained in:
parent
0535a45bd9
commit
2864300a4e
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user