Commit 09593800 by Sébastien Eustace Committed by GitHub

Fix a TypeError when trying to execute `setup.py` files (#2499)

parent 9679974e
...@@ -866,7 +866,8 @@ class Provider: ...@@ -866,7 +866,8 @@ class Provider:
self._in_progress = False self._in_progress = False
def _execute_setup(self): @classmethod
def _execute_setup(cls):
with temporary_directory() as tmp_dir: with temporary_directory() as tmp_dir:
EnvManager.build_venv(tmp_dir) EnvManager.build_venv(tmp_dir)
venv = VirtualEnv(Path(tmp_dir), Path(tmp_dir)) venv = VirtualEnv(Path(tmp_dir), Path(tmp_dir))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment