MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / check_virtual_environment

Function check_virtual_environment

scripts/install_api.py:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def check_virtual_environment() -> bool:
37 if sys.prefix != sys.base_prefix:
38 if os.environ.get("VIRTUAL_ENV"):
39 return True
40 return False
41
42
43def getsitepackage() -> str:

Callers 1

installFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected