mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-101100: Documenting --prefix and --exec-prefix. (GH-102695)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
afa6092ee4
commit
61b9ff35cb
5 changed files with 24 additions and 8 deletions
|
|
@ -216,6 +216,22 @@ WebAssembly Options
|
|||
Install Options
|
||||
---------------
|
||||
|
||||
.. cmdoption:: --prefix=PREFIX
|
||||
|
||||
Install architecture-independent files in PREFIX. On Unix, it
|
||||
defaults to :file:`/usr/local`.
|
||||
|
||||
This value can be retrived at runtime using :data:`sys.prefix`.
|
||||
|
||||
As an example, one can use ``--prefix="$HOME/.local/"`` to install
|
||||
a Python in its home directory.
|
||||
|
||||
.. cmdoption:: --exec-prefix=EPREFIX
|
||||
|
||||
Install architecture-dependent files in EPREFIX, defaults to :option:`--prefix`.
|
||||
|
||||
This value can be retrived at runtime using :data:`sys.exec_prefix`.
|
||||
|
||||
.. cmdoption:: --disable-test-modules
|
||||
|
||||
Don't build nor install test modules, like the :mod:`test` package or the
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ Python-related paths and files
|
|||
==============================
|
||||
|
||||
These are subject to difference depending on local installation conventions;
|
||||
:envvar:`prefix` (``${prefix}``) and :envvar:`exec_prefix` (``${exec_prefix}``)
|
||||
:option:`prefix <--prefix>` and :option:`exec_prefix <--exec-prefix>`
|
||||
are installation-dependent and should be interpreted as for GNU software; they
|
||||
may be the same.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue