Extrapolate requirements file
This commit is contained in:
@@ -6,6 +6,8 @@ import subprocess # do stuff at the shell level
|
|||||||
|
|
||||||
env = common.prepare_env()
|
env = common.prepare_env()
|
||||||
|
|
||||||
|
pip_requirements = os.path.join(".","resources","app","meta","manifests","pip_requirements.txt")
|
||||||
|
|
||||||
def run_install(PY_VERSION,USER):
|
def run_install(PY_VERSION,USER):
|
||||||
# get executables
|
# get executables
|
||||||
# python
|
# python
|
||||||
@@ -75,7 +77,7 @@ def run_install(PY_VERSION,USER):
|
|||||||
"install",
|
"install",
|
||||||
"--user",
|
"--user",
|
||||||
"-r",
|
"-r",
|
||||||
"./resources/app/meta/manifests/pip_requirements.txt"
|
pip_requirements
|
||||||
]
|
]
|
||||||
if not USER:
|
if not USER:
|
||||||
args.remove("--user")
|
args.remove("--user")
|
||||||
|
|||||||
Reference in New Issue
Block a user