forked from AFPy/python-docs-fr
1244 lines
30 KiB
Plaintext
1244 lines
30 KiB
Plaintext
# Copyright (C) 2001-2018, Python Software Foundation
|
|
# For licence information, see README file.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Python 3\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2022-05-22 23:13+0200\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
|
"Language: fr\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: using/configure.rst:3
|
|
msgid "Configure Python"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:8
|
|
msgid "Configure Options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:10
|
|
msgid "List all ``./configure`` script options using::"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:14
|
|
msgid ""
|
|
"See also the :file:`Misc/SpecialBuilds.txt` in the Python source "
|
|
"distribution."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:17
|
|
msgid "General Options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:21
|
|
msgid ""
|
|
"Support loadable extensions in the :mod:`_sqlite` extension module (default "
|
|
"is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:24
|
|
msgid ""
|
|
"See the :meth:`sqlite3.Connection.enable_load_extension` method of the :mod:"
|
|
"`sqlite3` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:31
|
|
msgid ""
|
|
"Disable IPv6 support (enabled by default if supported), see the :mod:"
|
|
"`socket` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:36
|
|
msgid "Define the size in bits of Python :class:`int` digits: 15 or 30 bits."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:38
|
|
msgid "By default, the digit size is 30."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:40
|
|
msgid "Define the ``PYLONG_BITS_IN_DIGIT`` to ``15`` or ``30``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:42
|
|
msgid "See :data:`sys.int_info.bits_per_digit <sys.int_info>`."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:47
|
|
msgid ""
|
|
"Compile the Python ``main()`` function and link Python executable with C++ "
|
|
"compiler: ``$CXX``, or *COMPILER* if specified."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:52
|
|
msgid "Set the Python executable suffix to *SUFFIX*."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:54
|
|
msgid ""
|
|
"The default suffix is ``.exe`` on Windows and macOS (``python.exe`` "
|
|
"executable), ``.js`` on Emscripten node, ``.html`` on Emscripten browser, ``."
|
|
"wasm`` on WASI, and an empty string on other platforms (``python`` "
|
|
"executable)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:59
|
|
msgid ""
|
|
"The default suffix on WASM platform is one of ``.js``, ``.html`` or ``."
|
|
"wasm``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:65
|
|
msgid ""
|
|
"Select the default time zone search path for :data:`zoneinfo.TZPATH`. See "
|
|
"the :ref:`Compile-time configuration <zoneinfo_data_compile_time_config>` of "
|
|
"the :mod:`zoneinfo` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:69
|
|
msgid ""
|
|
"Default: ``/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/"
|
|
"etc/zoneinfo``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:71
|
|
msgid "See :data:`os.pathsep` path separator."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:77
|
|
msgid ""
|
|
"Build the ``_decimal`` extension module using a thread-local context rather "
|
|
"than a coroutine-local context (default), see the :mod:`decimal` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:80
|
|
msgid "See :data:`decimal.HAVE_CONTEXTVAR` and the :mod:`contextvars` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:86
|
|
msgid "Override order to check db backends for the :mod:`dbm` module"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:88
|
|
msgid ""
|
|
"A valid value is a colon (``:``) separated string with the backend names:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:90
|
|
msgid "``ndbm``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:91
|
|
msgid "``gdbm``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:92
|
|
msgid "``bdb``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:96
|
|
msgid "Disable C locale coercion to a UTF-8 based locale (enabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:98
|
|
msgid "Don't define the ``PY_COERCE_C_LOCALE`` macro."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:100
|
|
msgid "See :envvar:`PYTHONCOERCECLOCALE` and the :pep:`538`."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:104
|
|
msgid "Python library directory name (default is ``lib``)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:106
|
|
msgid "Fedora and SuSE use ``lib64`` on 64-bit platforms."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:108
|
|
msgid "See :data:`sys.platlibdir`."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:114
|
|
msgid ""
|
|
"Directory of wheel packages used by the :mod:`ensurepip` module (none by "
|
|
"default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:117
|
|
msgid ""
|
|
"Some Linux distribution packaging policies recommend against bundling "
|
|
"dependencies. For example, Fedora installs wheel packages in the ``/usr/"
|
|
"share/python-wheels/`` directory and don't install the :mod:`ensurepip."
|
|
"_bundled` package."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:126
|
|
msgid ""
|
|
"Whether configure should use :program:`pkg-config` to detect build "
|
|
"dependencies."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:129
|
|
msgid "``check`` (default): :program:`pkg-config` is optional"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:130
|
|
msgid "``yes``: :program:`pkg-config` is mandatory"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:131
|
|
msgid "``no``: configure does not use :program:`pkg-config` even when present"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:137
|
|
msgid "Turn on internal statistics gathering."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:139
|
|
msgid ""
|
|
"The statistics will be dumped to a arbitrary (probably unique) file in ``/"
|
|
"tmp/py_stats/``, or ``C:\\temp\\py_stats\\`` on Windows."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:142
|
|
msgid "Use ``Tools/scripts/summarize_stats.py`` to read the stats."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:147
|
|
msgid "WebAssembly Options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:151
|
|
msgid "Set build flavor for ``wasm32-emscripten``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:153
|
|
msgid "``browser`` (default): preload minimal stdlib, default MEMFS."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:154
|
|
msgid "``node``: NODERAWFS and pthread support."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:160
|
|
msgid "Turn on dynamic linking support for WASM."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:162
|
|
msgid ""
|
|
"Dynamic linking enables ``dlopen``. File size of the executable increases "
|
|
"due to limited dead code elimination and additional features."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:169
|
|
msgid "Turn on pthreads support for WASM."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:175
|
|
msgid "Install Options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:179
|
|
msgid ""
|
|
"Don't build nor install test modules, like the :mod:`test` package or the :"
|
|
"mod:`_testcapi` extension module (built and installed by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:186
|
|
msgid "Select the :mod:`ensurepip` command run on Python installation:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:188
|
|
msgid ""
|
|
"``upgrade`` (default): run ``python -m ensurepip --altinstall --upgrade`` "
|
|
"command."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:190
|
|
msgid "``install``: run ``python -m ensurepip --altinstall`` command;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:191
|
|
msgid "``no``: don't run ensurepip;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:197
|
|
msgid "Performance options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:199
|
|
msgid ""
|
|
"Configuring Python using ``--enable-optimizations --with-lto`` (PGO + LTO) "
|
|
"is recommended for best performance."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:204
|
|
msgid ""
|
|
"Enable Profile Guided Optimization (PGO) using :envvar:`PROFILE_TASK` "
|
|
"(disabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:207
|
|
msgid ""
|
|
"The C compiler Clang requires ``llvm-profdata`` program for PGO. On macOS, "
|
|
"GCC also requires it: GCC is just an alias to Clang on macOS."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:210
|
|
msgid ""
|
|
"Disable also semantic interposition in libpython if ``--enable-shared`` and "
|
|
"GCC is used: add ``-fno-semantic-interposition`` to the compiler and linker "
|
|
"flags."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:216
|
|
msgid "Use ``-fno-semantic-interposition`` on GCC."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:221
|
|
msgid ""
|
|
"Environment variable used in the Makefile: Python command line arguments for "
|
|
"the PGO generation task."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:224
|
|
msgid "Default: ``-m test --pgo --timeout=$(TESTTIMEOUT)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:230
|
|
msgid "Enable Link Time Optimization (LTO) in any build (disabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:232
|
|
msgid ""
|
|
"The C compiler Clang requires ``llvm-ar`` for LTO (``ar`` on macOS), as well "
|
|
"as an LTO-aware linker (``ld.gold`` or ``lld``)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:237
|
|
msgid "To use ThinLTO feature, use ``--with-lto=thin`` on Clang."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:242
|
|
msgid ""
|
|
"Enable computed gotos in evaluation loop (enabled by default on supported "
|
|
"compilers)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:247
|
|
msgid ""
|
|
"Disable the specialized Python memory allocator :ref:`pymalloc <pymalloc>` "
|
|
"(enabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:250
|
|
msgid "See also :envvar:`PYTHONMALLOC` environment variable."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:254
|
|
msgid ""
|
|
"Disable static documentation strings to reduce the memory footprint (enabled "
|
|
"by default). Documentation strings defined in Python are not affected."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:257
|
|
msgid "Don't define the ``WITH_DOC_STRINGS`` macro."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:259
|
|
msgid "See the ``PyDoc_STRVAR()`` macro."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:263
|
|
msgid "Enable C-level code profiling with ``gprof`` (disabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:269
|
|
msgid "Python Debug Build"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:271
|
|
msgid ""
|
|
"A debug build is Python built with the :option:`--with-pydebug` configure "
|
|
"option."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:274
|
|
msgid "Effects of a debug build:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:276
|
|
msgid ""
|
|
"Display all warnings by default: the list of default warning filters is "
|
|
"empty in the :mod:`warnings` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:278
|
|
msgid "Add ``d`` to :data:`sys.abiflags`."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:279
|
|
msgid "Add :func:`sys.gettotalrefcount` function."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:280
|
|
msgid "Add :option:`-X showrefcount <-X>` command line option."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:281
|
|
msgid "Add :envvar:`PYTHONTHREADDEBUG` environment variable."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:282
|
|
msgid ""
|
|
"Add support for the ``__lltrace__`` variable: enable low-level tracing in "
|
|
"the bytecode evaluation loop if the variable is defined."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:284
|
|
msgid ""
|
|
"Install :ref:`debug hooks on memory allocators <default-memory-allocators>` "
|
|
"to detect buffer overflow and other memory errors."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:286
|
|
msgid "Define ``Py_DEBUG`` and ``Py_REF_DEBUG`` macros."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:287
|
|
msgid ""
|
|
"Add runtime checks: code surrounded by ``#ifdef Py_DEBUG`` and ``#endif``. "
|
|
"Enable ``assert(...)`` and ``_PyObject_ASSERT(...)`` assertions: don't set "
|
|
"the ``NDEBUG`` macro (see also the :option:`--with-assertions` configure "
|
|
"option). Main runtime checks:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:292
|
|
msgid "Add sanity checks on the function arguments."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:293
|
|
msgid ""
|
|
"Unicode and int objects are created with their memory filled with a pattern "
|
|
"to detect usage of uninitialized objects."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:295
|
|
msgid ""
|
|
"Ensure that functions which can clear or replace the current exception are "
|
|
"not called with an exception raised."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:297
|
|
msgid "Check that deallocator functions don't change the current exception."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:298
|
|
msgid ""
|
|
"The garbage collector (:func:`gc.collect` function) runs some basic checks "
|
|
"on objects consistency."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:300
|
|
msgid ""
|
|
"The :c:macro:`Py_SAFE_DOWNCAST()` macro checks for integer underflow and "
|
|
"overflow when downcasting from wide types to narrow types."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:303
|
|
msgid ""
|
|
"See also the :ref:`Python Development Mode <devmode>` and the :option:`--"
|
|
"with-trace-refs` configure option."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:306
|
|
msgid ""
|
|
"Release builds and debug builds are now ABI compatible: defining the "
|
|
"``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` macro (see the :"
|
|
"option:`--with-trace-refs` option), which introduces the only ABI "
|
|
"incompatibility."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:314
|
|
msgid "Debug options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:318
|
|
msgid ""
|
|
":ref:`Build Python in debug mode <debug-build>`: define the ``Py_DEBUG`` "
|
|
"macro (disabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:323
|
|
msgid "Enable tracing references for debugging purpose (disabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:325
|
|
msgid "Effects:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:327
|
|
msgid "Define the ``Py_TRACE_REFS`` macro."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:328
|
|
msgid "Add :func:`sys.getobjects` function."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:329
|
|
msgid "Add :envvar:`PYTHONDUMPREFS` environment variable."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:331
|
|
msgid ""
|
|
"This build is not ABI compatible with release build (default build) or debug "
|
|
"build (``Py_DEBUG`` and ``Py_REF_DEBUG`` macros)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:338
|
|
msgid ""
|
|
"Build with C assertions enabled (default is no): ``assert(...);`` and "
|
|
"``_PyObject_ASSERT(...);``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:341
|
|
msgid ""
|
|
"If set, the ``NDEBUG`` macro is not defined in the :envvar:`OPT` compiler "
|
|
"variable."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:344
|
|
msgid ""
|
|
"See also the :option:`--with-pydebug` option (:ref:`debug build <debug-"
|
|
"build>`) which also enables assertions."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:351
|
|
msgid "Enable Valgrind support (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:355
|
|
msgid "Enable DTrace support (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:357
|
|
msgid ""
|
|
"See :ref:`Instrumenting CPython with DTrace and SystemTap <instrumentation>`."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:364
|
|
msgid ""
|
|
"Enable AddressSanitizer memory error detector, ``asan`` (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:370
|
|
msgid ""
|
|
"Enable MemorySanitizer allocation error detector, ``msan`` (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:376
|
|
msgid ""
|
|
"Enable UndefinedBehaviorSanitizer undefined behaviour detector, ``ubsan`` "
|
|
"(default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:383
|
|
msgid "Linker options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:387
|
|
msgid "Enable building a shared Python library: ``libpython`` (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:391
|
|
msgid ""
|
|
"Do not build ``libpythonMAJOR.MINOR.a`` and do not install ``python.o`` "
|
|
"(built and enabled by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:398
|
|
msgid "Libraries options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:402
|
|
msgid "Link against additional libraries (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:406
|
|
msgid ""
|
|
"Build the :mod:`pyexpat` module using an installed ``expat`` library "
|
|
"(default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:411
|
|
msgid ""
|
|
"Build the :mod:`_ctypes` extension module using an installed ``ffi`` "
|
|
"library, see the :mod:`ctypes` module (default is system-dependent)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:416
|
|
msgid ""
|
|
"Build the ``_decimal`` extension module using an installed ``mpdec`` "
|
|
"library, see the :mod:`decimal` module (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:423
|
|
msgid "Use ``editline`` library for backend of the :mod:`readline` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:425
|
|
msgid "Define the ``WITH_EDITLINE`` macro."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:431
|
|
msgid "Don't build the :mod:`readline` module (built by default)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:433
|
|
msgid "Don't define the ``HAVE_LIBREADLINE`` macro."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:439
|
|
msgid ""
|
|
"Override ``libm`` math library to *STRING* (default is system-dependent)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:443
|
|
msgid "Override ``libc`` C library to *STRING* (default is system-dependent)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:447
|
|
msgid "Root of the OpenSSL directory."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:453
|
|
msgid "Set runtime library directory (rpath) for OpenSSL libraries:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:455
|
|
msgid "``no`` (default): don't set rpath;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:456
|
|
msgid ""
|
|
"``auto``: auto-detect rpath from :option:`--with-openssl` and ``pkg-config``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:458
|
|
msgid "*DIR*: set an explicit rpath."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:464
|
|
msgid "Security Options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:468
|
|
msgid "Select hash algorithm for use in ``Python/pyhash.c``:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:470
|
|
msgid "``siphash13`` (default);"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:471
|
|
msgid "``siphash24``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:472
|
|
msgid "``fnv``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:476
|
|
msgid "``siphash13`` is added and it is the new default."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:481
|
|
msgid "Built-in hash modules:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:483
|
|
msgid "``md5``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:484
|
|
msgid "``sha1``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:485
|
|
msgid "``sha256``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:486
|
|
msgid "``sha512``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:487
|
|
msgid "``sha3`` (with shake);"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:488
|
|
msgid "``blake2``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:494
|
|
msgid "Override the OpenSSL default cipher suites string:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:496
|
|
msgid "``python`` (default): use Python's preferred selection;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:497
|
|
msgid "``openssl``: leave OpenSSL's defaults untouched;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:498
|
|
msgid "*STRING*: use a custom string"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:500
|
|
msgid "See the :mod:`ssl` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:506
|
|
msgid ""
|
|
"The settings ``python`` and *STRING* also set TLS 1.2 as minimum protocol "
|
|
"version."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:510
|
|
msgid "macOS Options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:512
|
|
msgid "See ``Mac/README.rst``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:517
|
|
msgid ""
|
|
"Create a universal binary build. *SDKDIR* specifies which macOS SDK should "
|
|
"be used to perform the build (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:523
|
|
msgid ""
|
|
"Create a Python.framework rather than a traditional Unix install. Optional "
|
|
"*INSTALLDIR* specifies the installation path (default is no)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:528
|
|
msgid ""
|
|
"Specify the kind of universal binary that should be created. This option is "
|
|
"only valid when :option:`--enable-universalsdk` is set."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:531
|
|
msgid "Options:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:533
|
|
msgid "``universal2``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:534
|
|
msgid "``32-bit``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:535
|
|
msgid "``64-bit``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:536
|
|
msgid "``3-way``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:537
|
|
msgid "``intel``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:538
|
|
msgid "``intel-32``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:539
|
|
msgid "``intel-64``;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:540
|
|
msgid "``all``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:544
|
|
msgid ""
|
|
"Specify the name for the python framework on macOS only valid when :option:"
|
|
"`--enable-framework` is set (default: ``Python``)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:549
|
|
msgid "Cross Compiling Options"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:551
|
|
msgid ""
|
|
"Cross compiling, also known as cross building, can be used to build Python "
|
|
"for another CPU architecture or platform. Cross compiling requires a Python "
|
|
"interpreter for the build platform. The version of the build Python must "
|
|
"match the version of the cross compiled host Python."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:558
|
|
msgid ""
|
|
"configure for building on BUILD, usually guessed by :program:`config.guess`."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:562
|
|
msgid "cross-compile to build programs to run on HOST (target platform)"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:566
|
|
msgid "path to build ``python`` binary for cross compiling"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:572
|
|
msgid "An environment variable that points to a file with configure overrides."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:574
|
|
msgid "Example *config.site* file::"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:582
|
|
msgid "Cross compiling example::"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:591
|
|
msgid "Python Build System"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:594
|
|
msgid "Main files of the build system"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:596
|
|
msgid ":file:`configure.ac` => :file:`configure`;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:597
|
|
msgid ""
|
|
":file:`Makefile.pre.in` => :file:`Makefile` (created by :file:`configure`);"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:598
|
|
msgid ":file:`pyconfig.h` (created by :file:`configure`);"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:599
|
|
msgid ""
|
|
":file:`Modules/Setup`: C extensions built by the Makefile using :file:"
|
|
"`Module/makesetup` shell script;"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:601
|
|
msgid ":file:`setup.py`: C extensions built using the :mod:`distutils` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:604
|
|
msgid "Main build steps"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:606
|
|
msgid "C files (``.c``) are built as object files (``.o``)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:607
|
|
msgid "A static ``libpython`` library (``.a``) is created from objects files."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:608
|
|
msgid ""
|
|
"``python.o`` and the static ``libpython`` library are linked into the final "
|
|
"``python`` program."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:610
|
|
msgid ""
|
|
"C extensions are built by the Makefile (see :file:`Modules/Setup`) and "
|
|
"``python setup.py build``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:614
|
|
msgid "Main Makefile targets"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:616
|
|
msgid "``make``: Build Python with the standard library."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:617
|
|
msgid ""
|
|
"``make platform:``: build the ``python`` program, but don't build the "
|
|
"standard library extension modules."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:619
|
|
msgid ""
|
|
"``make profile-opt``: build Python using Profile Guided Optimization (PGO). "
|
|
"You can use the configure :option:`--enable-optimizations` option to make "
|
|
"this the default target of the ``make`` command (``make all`` or just "
|
|
"``make``)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:623
|
|
msgid ""
|
|
"``make buildbottest``: Build Python and run the Python test suite, the same "
|
|
"way than buildbots test Python. Set ``TESTTIMEOUT`` variable (in seconds) to "
|
|
"change the test timeout (1200 by default: 20 minutes)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:626
|
|
msgid "``make install``: Build and install Python."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:627
|
|
msgid ""
|
|
"``make regen-all``: Regenerate (almost) all generated files; ``make regen-"
|
|
"stdlib-module-names`` and ``autoconf`` must be run separately for the "
|
|
"remaining generated files."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:630
|
|
msgid "``make clean``: Remove built files."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:631
|
|
msgid ""
|
|
"``make distclean``: Same than ``make clean``, but remove also files created "
|
|
"by the configure script."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:635
|
|
msgid "C extensions"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:637
|
|
msgid ""
|
|
"Some C extensions are built as built-in modules, like the ``sys`` module. "
|
|
"They are built with the ``Py_BUILD_CORE_BUILTIN`` macro defined. Built-in "
|
|
"modules have no ``__file__`` attribute::"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:649
|
|
msgid ""
|
|
"Other C extensions are built as dynamic libraries, like the ``_asyncio`` "
|
|
"module. They are built with the ``Py_BUILD_CORE_MODULE`` macro defined. "
|
|
"Example on Linux x86-64::"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:659
|
|
msgid ""
|
|
":file:`Modules/Setup` is used to generate Makefile targets to build C "
|
|
"extensions. At the beginning of the files, C extensions are built as built-"
|
|
"in modules. Extensions defined after the ``*shared*`` marker are built as "
|
|
"dynamic libraries."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:663
|
|
msgid ""
|
|
"The :file:`setup.py` script only builds C extensions as shared libraries "
|
|
"using the :mod:`distutils` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:666
|
|
msgid ""
|
|
"The :c:macro:`PyAPI_FUNC()`, :c:macro:`PyAPI_API()` and :c:macro:"
|
|
"`PyMODINIT_FUNC()` macros of :file:`Include/pyport.h` are defined "
|
|
"differently depending if the ``Py_BUILD_CORE_MODULE`` macro is defined:"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:670
|
|
msgid "Use ``Py_EXPORTED_SYMBOL`` if the ``Py_BUILD_CORE_MODULE`` is defined"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:671
|
|
msgid "Use ``Py_IMPORTED_SYMBOL`` otherwise."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:673
|
|
msgid ""
|
|
"If the ``Py_BUILD_CORE_BUILTIN`` macro is used by mistake on a C extension "
|
|
"built as a shared library, its ``PyInit_xxx()`` function is not exported, "
|
|
"causing an :exc:`ImportError` on import."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:679
|
|
msgid "Compiler and linker flags"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:681
|
|
msgid ""
|
|
"Options set by the ``./configure`` script and environment variables and used "
|
|
"by ``Makefile``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:685
|
|
msgid "Preprocessor flags"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:689
|
|
msgid ""
|
|
"Value of :envvar:`CPPFLAGS` variable passed to the ``./configure`` script."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:695
|
|
msgid ""
|
|
"(Objective) C/C++ preprocessor flags, e.g. ``-I<include dir>`` if you have "
|
|
"headers in a nonstandard directory ``<include dir>``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:875
|
|
msgid ""
|
|
"Both :envvar:`CPPFLAGS` and :envvar:`LDFLAGS` need to contain the shell's "
|
|
"value for setup.py to be able to build extension modules using the "
|
|
"directories specified in the environment variables."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:708
|
|
msgid ""
|
|
"Extra preprocessor flags added for building the interpreter object files."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:710
|
|
msgid ""
|
|
"Default: ``$(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) "
|
|
"$(CPPFLAGS)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:715
|
|
msgid "Compiler flags"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:719
|
|
msgid "C compiler command."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:721
|
|
msgid "Example: ``gcc -pthread``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:725
|
|
msgid ""
|
|
"C compiler command used to build the ``main()`` function of programs like "
|
|
"``python``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:728
|
|
msgid ""
|
|
"Variable set by the :option:`--with-cxx-main` option of the configure script."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:731
|
|
msgid "Default: ``$(CC)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:735
|
|
msgid "C++ compiler command."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:737
|
|
msgid "Used if the :option:`--with-cxx-main` option is used."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:739
|
|
msgid "Example: ``g++ -pthread``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:743
|
|
msgid "C compiler flags."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:747
|
|
msgid ""
|
|
":envvar:`CFLAGS_NODIST` is used for building the interpreter and stdlib C "
|
|
"extensions. Use it when a compiler flag should *not* be part of the "
|
|
"distutils :envvar:`CFLAGS` once Python is installed (:issue:`21121`)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:755
|
|
msgid "Extra C compiler flags."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:759
|
|
msgid ""
|
|
"Value of :envvar:`CFLAGS` variable passed to the ``./configure`` script."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:766
|
|
msgid ""
|
|
"Value of :envvar:`CFLAGS_NODIST` variable passed to the ``./configure`` "
|
|
"script."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:773
|
|
msgid "Base compiler flags."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:777
|
|
msgid "Optimization flags."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:781
|
|
msgid "Strict or non-strict aliasing flags used to compile ``Python/dtoa.c``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:787
|
|
msgid "Compiler flags used to build a shared library."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:789
|
|
msgid "For example, ``-fPIC`` is used on Linux and on BSD."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:793
|
|
msgid "Extra C flags added for building the interpreter object files."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:795
|
|
msgid ""
|
|
"Default: ``$(CCSHARED)`` when :option:`--enable-shared` is used, or an empty "
|
|
"string otherwise."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:800
|
|
msgid ""
|
|
"Default: ``$(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) "
|
|
"$(EXTRA_CFLAGS)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:804
|
|
msgid ""
|
|
"Default: ``$(CONFIGURE_CFLAGS_NODIST) $(CFLAGS_NODIST) -I$(srcdir)/Include/"
|
|
"internal``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:810
|
|
msgid "C flags used for building the interpreter object files."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:812
|
|
msgid ""
|
|
"Default: ``$(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) "
|
|
"$(CFLAGSFORSHARED)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:818
|
|
msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:824
|
|
msgid ""
|
|
"Compiler flags to build a standard library extension module as a built-in "
|
|
"module, like the :mod:`posix` module."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:827
|
|
msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE_BUILTIN``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:833
|
|
msgid "Purify command. Purify is a memory debugger program."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:835
|
|
msgid "Default: empty string (not used)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:839
|
|
msgid "Linker flags"
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:843
|
|
msgid ""
|
|
"Linker command used to build programs like ``python`` and ``_testembed``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:845
|
|
msgid "Default: ``$(PURIFY) $(MAINCC)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:849
|
|
msgid ""
|
|
"Value of :envvar:`LDFLAGS` variable passed to the ``./configure`` script."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:851
|
|
msgid ""
|
|
"Avoid assigning :envvar:`CFLAGS`, :envvar:`LDFLAGS`, etc. so users can use "
|
|
"them on the command line to append to these values without stomping the pre-"
|
|
"set values."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:859
|
|
msgid ""
|
|
":envvar:`LDFLAGS_NODIST` is used in the same manner as :envvar:"
|
|
"`CFLAGS_NODIST`. Use it when a linker flag should *not* be part of the "
|
|
"distutils :envvar:`LDFLAGS` once Python is installed (:issue:`35257`)."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:865
|
|
msgid ""
|
|
"Value of :envvar:`LDFLAGS_NODIST` variable passed to the ``./configure`` "
|
|
"script."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:872
|
|
msgid ""
|
|
"Linker flags, e.g. ``-L<lib dir>`` if you have libraries in a nonstandard "
|
|
"directory ``<lib dir>``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:881
|
|
msgid ""
|
|
"Linker flags to pass libraries to the linker when linking the Python "
|
|
"executable."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:884
|
|
msgid "Example: ``-lrt``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:888
|
|
msgid "Command to build a shared library."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:890
|
|
msgid "Default: ``@LDSHARED@ $(PY_LDFLAGS)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:894
|
|
msgid "Command to build ``libpython`` shared library."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:896
|
|
msgid "Default: ``@BLDSHARED@ $(PY_CORE_LDFLAGS)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:900
|
|
msgid "Default: ``$(CONFIGURE_LDFLAGS) $(LDFLAGS)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:904
|
|
msgid "Default: ``$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST)``."
|
|
msgstr ""
|
|
|
|
#: using/configure.rst:910
|
|
msgid "Linker flags used for building the interpreter object files."
|
|
msgstr ""
|