Browse Source

Remove win_bash arg

No longer needed, was a remnant of the old path troubles

Contributes to CURA-9365
pull/2/head
j.spijker@ultimaker.com 4 years ago committed by Jelle Spijker
parent
commit
639b8ef9dc
  1. 3
      generators/VirtualPythonEnv.py

3
generators/VirtualPythonEnv.py

@ -108,8 +108,7 @@ class VirtualPythonEnv(Generator):
requirements_txt_path = Path(self.conanfile.source_folder, req_txt)
if requirements_txt_path.exists():
self.conanfile.run(f"""{python_venv_interpreter} -m pip install -r {requirements_txt_path}""",
run_environment = True, env = "conanrun",
win_bash = self.conanfile.settings.os == "Windows")
run_environment = True, env = "conanrun")
else:
self.conanfile.output.warn(f"Failed to find pip requirement file: {requirements_txt_path}")
else:

Loading…
Cancel
Save