MCPcopy Create free account
hub / github.com/apache/impala / create_virtualenv

Function create_virtualenv

infra/python/bootstrap_virtualenv.py:104–109  ·  view source on GitHub ↗
(venv_dir)

Source from the content-addressed store, hash-verified

102
103
104def create_virtualenv(venv_dir):
105 # Use Python 3's builtin venv command
106 LOG.info("Creating python3 virtualenv")
107 python_cmd = download_toolchain_python()
108 exec_cmd([python_cmd, "-m" "venv", venv_dir])
109 return
110
111
112def exec_cmd(args, **kwargs):

Callers 1

Calls 2

exec_cmdFunction · 0.70

Tested by

no test coverage detected