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
78 # Prefixes for site-packages; add additional prefixes like /usr/local here
346 def getsitepackages(prefixes=None):
349 For each directory present in ``prefixes`` (or the global ``PREFIXES``),
356 if prefixes is None:
357 prefixes = PREFIXES
359 for prefix in prefixes:
379 def addsitepackages(known_paths, prefixes=None):
382 for sitedir in getsitepackages(prefixes):