Lines Matching refs:prefixes
12 prefixes directly, as well as with lib/site-packages appended. The
19 sys.base_exec_prefix will always be the "real" prefixes of the Python
22 (case-insensitive), the system-level prefixes will still also be
77 # Prefixes for site-packages; add additional prefixes like /usr/local here
78 PREFIXES = [sys.prefix, sys.exec_prefix]
318 def getsitepackages(prefixes=None):
321 For each directory present in ``prefixes`` (or the global ``PREFIXES``),
328 if prefixes is None:
329 prefixes = PREFIXES
331 for prefix in prefixes:
345 def addsitepackages(known_paths, prefixes=None):
347 for sitedir in getsitepackages(prefixes):
456 global PREFIXES, ENABLE_USER_SITE
503 # addsitepackages will process site_prefix again if its in PREFIXES,
506 PREFIXES.insert(0, sys.prefix)
508 PREFIXES = [sys.prefix]