Lines Matching +full:- +full:scheme

1 :mod:`sysconfig` --- Provide access to Python's configuration information
17 --------------
24 -----------------------
28 third-party C extensions compiled using :mod:`distutils`.
65 ------------------
67 Python uses an installation scheme that differs depending on the platform and on
72 Distutils-based system will follow the same scheme to copy its file in the right
77 - *posix_prefix*: scheme for Posix platforms like Linux or Mac OS X. This is
78 the default scheme used when Python or a component is installed.
79 - *posix_home*: scheme for Posix platforms used when a *home* option is used
80 upon installation. This scheme is used when a component is installed through
82 - *posix_user*: scheme for Posix platforms used when a component is installed
83 through Distutils and the *user* option is used. This scheme defines paths
85 - *nt*: scheme for NT platforms like Windows.
86 - *nt_user*: scheme for NT platforms, when the *user* option is used.
88 Each scheme is itself composed of a series of paths and each path has a unique
91 - *stdlib*: directory containing the standard Python library files that are not
92 platform-specific.
93 - *platstdlib*: directory containing the standard Python library files that are
94 platform-specific.
95 - *platlib*: directory for site-specific, platform-specific files.
96 - *purelib*: directory for site-specific, non-platform-specific files.
97 - *include*: directory for non-platform-specific header files.
98 - *platinclude*: directory for platform-specific header files.
99 - *scripts*: directory for script files.
100 - *data*: directory for data files.
116 .. function:: get_path(name, [scheme, [vars, [expand]]])
119 install scheme named *scheme*.
125 path for the *nt* scheme is: ``{base}/Lib``.
131 If *scheme* is provided, it must be a value from the list returned by
132 :func:`get_scheme_names`. Otherwise, the default scheme for the current
144 .. function:: get_paths([scheme, [vars, [expand]]])
147 installation scheme. See :func:`get_path` for more information.
149 If *scheme* is not provided, will use the default scheme for the current
157 If *scheme* is not an existing scheme, :func:`get_paths` will raise a
162 ---------------
174 This is used mainly to distinguish platform-specific build directories and
175 platform-specific built distributions. Typically includes the OS name and
182 - linux-i586
183 - linux-alpha (?)
184 - solaris-2.6-sun4u
188 - win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
189 - win32 (all others - specifically, sys.platform is returned)
193 - macosx-10.6-ppc
194 - macosx-10.4-ppc64
195 - macosx-10.3-i386
196 - macosx-10.4-fat
198 For other non-POSIX platforms, currently just returns :data:`sys.platform`.
210 Parse a :file:`config.h`\-style file.
212 *fp* is a file-like object pointing to the :file:`config.h`\-like file.
228 ----------------------------------
230 You can use :mod:`sysconfig` as a script with Python's *-m* option:
232 .. code-block:: shell-session
234 $ python -m sysconfig
235 Platform: "macosx-10.4-i386"
237 Current installation scheme: "posix_prefix"
243 platlib = "/usr/local/lib/python3.2/site-packages"
245 purelib = "/usr/local/lib/python3.2/site-packages"