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

Function mark_reqs_installed

infra/python/bootstrap_virtualenv.py:373–377  ·  view source on GitHub ↗

Mark that the requirements from the given file are installed by copying it into the root directory of the virtualenv.

(venv_dir, reqs_path)

Source from the content-addressed store, hash-verified

371
372
373def mark_reqs_installed(venv_dir, reqs_path):
374 '''Mark that the requirements from the given file are installed by copying it into
375 the root directory of the virtualenv.'''
376 installed_reqs_path = os.path.join(venv_dir, os.path.basename(reqs_path))
377 shutil.copyfile(reqs_path, installed_reqs_path)
378
379
380def reqs_are_installed(venv_dir, reqs_path):

Callers 4

install_depsFunction · 0.85
install_adls_depsFunction · 0.85
install_gcovr_depsFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected