a
This commit is contained in:
parent
b7653bb1b1
commit
8c44396b7e
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class VirtualenvOperation(object):
|
||||||
command = f"pip install {package_name}"
|
command = f"pip install {package_name}"
|
||||||
else:
|
else:
|
||||||
with open(os.path.join(path, "requirements.txt"), "w") as f:
|
with open(os.path.join(path, "requirements.txt"), "w") as f:
|
||||||
subprocess.check_output("pipenv run pip freeze".split(), cwd=path, stdout=f)
|
subprocess.Popen("pipenv run pip freeze".split(), cwd=path, stdout=f)
|
||||||
command = f"pip install -r requirements.txt"
|
command = f"pip install -r requirements.txt"
|
||||||
try:
|
try:
|
||||||
output = subprocess.check_output(command.split(), cwd=path)
|
output = subprocess.check_output(command.split(), cwd=path)
|
||||||
|
|
Loading…
Reference in a new issue