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