MCPcopy
hub / github.com/tox-dev/tox / _setup_env

Method _setup_env

src/tox/tox_env/python/api.py:330–334  ·  view source on GitHub ↗

Setup a virtual python environment.

(self)

Source from the content-addressed store, hash-verified

328 raise NotImplementedError
329
330 def _setup_env(self) -> None:
331 """Setup a virtual python environment."""
332 super()._setup_env()
333 self.ensure_python_env()
334 self._paths = self.prepend_env_var_path() # now that the environment exist we can add them to the path
335
336 def ensure_python_env(self) -> None:
337 conf = self.python_cache()

Callers

nothing calls this directly

Calls 2

ensure_python_envMethod · 0.95
prepend_env_var_pathMethod · 0.95

Tested by

no test coverage detected