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

Function install_deps

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

Source from the content-addressed store, hash-verified

232
233
234def install_deps(venv_dir):
235 LOG.info("Installing setuptools into the python3 virtualenv")
236 exec_pip_install(venv_dir, ["-r", SETUPTOOLS_REQS_PATH])
237 cc = select_cc()
238 if cc is None:
239 raise Exception("CC not available")
240 env = dict(os.environ)
241 LOG.info("Installing packages into the python3 virtualenv")
242 exec_pip_install(venv_dir, ["-r", REQS_PATH], cc=cc, env=env)
243 mark_reqs_installed(venv_dir, REQS_PATH)
244
245
246def have_toolchain():

Callers 1

Calls 3

exec_pip_installFunction · 0.85
select_ccFunction · 0.85
mark_reqs_installedFunction · 0.85

Tested by

no test coverage detected