Lines Matching full:site
8 needed to use site-specific modules would place ``import site''
13 This will append site-specific paths to the module search path. On
16 lib/python<version>/site-packages as well as lib/site-python.
18 prefixes directly, as well as with lib/site-packages appended. The
30 /usr/local and there is a directory /usr/local/lib/python2.5/site-packages
47 /usr/local/lib/python2.5/site-packages/bar
48 /usr/local/lib/python2.5/site-packages/foo
56 site-specific customizations. If this import fails with an
66 # Prefixes for site-packages; add additional prefixes like /usr/local here
68 # Enable per user site-packages directory
132 """Process a .pth file within the site-packages directory:
197 """Check if user site directory is safe for inclusion
235 """Returns the user-specific site-packages directory path.
259 """Add a per user site-package to sys.path
261 Each user has its own python directory with site-packages in the
264 # get the per user site-package path
273 """Returns a list containing all global site-packages directories
274 (and possibly site-python).
277 will find its `site-packages` subdirectory depending on the system
289 sitepackages.append(os.path.join(prefix, "Lib", "site-packages"))
293 "site-packages"))
294 sitepackages.append(os.path.join(prefix, "lib", "site-python"))
297 sitepackages.append(os.path.join(prefix, "lib", "site-packages"))
306 sys.version[:3], "site-packages"))
310 """Add site-packages (and possibly site-python) to sys.path"""
496 """Run custom site specific code, if available."""
552 %s [--user-base] [--user-site]
558 Exit codes with --user-base or --user-site:
559 0 - user site directory is enabled
560 1 - user site directory is disabled by user
561 2 - uses site directory is disabled by super user
581 if '--user-site' in args: