in proxy_worker/utils/dependency.py [0:0]
def _get_cx_deps_path() -> str:
"""Get the directory storing the customer's third-party libraries.
Returns
-------
str
Core Tools: path to customer's site packages
Linux Dedicated/Premium: path to customer's site packages
Linux Consumption: empty string
"""
prefix: Optional[str] = os.getenv(AZURE_WEBJOBS_SCRIPT_ROOT)
cx_paths: List[str] = [
p for p in sys.path
if prefix and p.startswith(prefix) and ('site-packages' in p)
]
# Return first or default of customer path
return (cx_paths or [''])[0]