Lines Matching refs:site

1 :mod:`site` --- Site-specific configuration hook
4 .. module:: site
5 :synopsis: Module responsible for site-specific configuration.
7 **Source code:** :source:`Lib/site.py`
18 Importing this module will append site-specific paths to the module search path
22 pair: site-python; directory
23 pair: site-packages; directory
28 :file:`lib/site-packages` (on Windows) or
29 :file:`lib/python{X.Y}/site-packages` and then :file:`lib/site-python` (on
52 a subdirectory :file:`/usr/local/lib/python{X.Y}/site-packages` with three
72 /usr/local/lib/pythonX.Y/site-packages/bar
73 /usr/local/lib/pythonX.Y/site-packages/foo
83 :mod:`sitecustomize`, which can perform arbitrary site-specific customizations.
84 It is typically created by a system administrator in the site-packages
97 user site-packages directory (see below), which is part of ``sys.path`` unless
107 A list of prefixes for site-packages directories.
114 Flag showing the status of the user site-packages directory. ``True`` means
126 Path to the user site-packages for the running Python. Can be ``None`` if
128 :file:`~/.local/lib/python{X.Y}/site-packages` for UNIX and non-framework Mac
129 OS X builds, :file:`~/Library/Python/{X.Y}/lib/python/site-packages` for Mac
130 framework builds, and :file:`{%APPDATA%}\\Python\\Python{XY}\\site-packages`
131 on Windows. This directory is a site directory, which means that
139 Path to the base directory for the user site-packages. Can be ``None`` if
159 Return a list containing all global site-packages directories (and possibly
160 site-python).
176 Return the path of the user-specific site-packages directory,
183 The :mod:`site` module also provides a way to get the user directories from the
188 $ python -m site --user-site
189 /home/user/.local/lib/python2.7/site-packages
191 .. program:: site
202 .. cmdoption:: --user-site
204 Print the path to the user site-packages directory.
206 If both options are given, user base and user site will be printed (always in
210 the user site-packages directory is enabled, ``1`` if it was disabled by the
216 :pep:`370` -- Per user site-packages directory