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

Function delete_virtualenv_if_exist

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

Source from the content-addressed store, hash-verified

81
82
83def delete_virtualenv_if_exist(venv_dir):
84 if os.path.exists(venv_dir):
85 shutil.rmtree(venv_dir)
86
87
88def detect_virtualenv_version():

Callers 2

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected