a
This commit is contained in:
parent
87ce3aa276
commit
2fddc49d70
1 changed files with 1 additions and 3 deletions
|
@ -147,9 +147,7 @@ class PipenvOperation(object):
|
|||
if package_name:
|
||||
command = f"pipenv install {package_name}"
|
||||
else:
|
||||
with open(os.path.join(path, "requirements.txt"), "w") as f:
|
||||
subprocess.Popen("pipenv run pip freeze".split(), cwd=path, stdout=f)
|
||||
command = f"pipenv run pip install -r requirements.txt"
|
||||
command = f"pipenv install"
|
||||
try:
|
||||
output = subprocess.check_output(command.split(), cwd=path)
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
|
Loading…
Reference in a new issue