# 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-10-18 15:46+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \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 "Configurer Python" #: using/configure.rst:8 msgid "Configure Options" msgstr "Options de configuration" #: using/configure.rst:10 msgid "List all ``./configure`` script options using::" msgstr "" "Il est possible d'obtenir toutes les options de ``./configure`` avec ::" #: using/configure.rst:14 msgid "" "See also the :file:`Misc/SpecialBuilds.txt` in the Python source " "distribution." msgstr "" "Voir aussi le fichier :file:`Misc/SpecialBuilds.txt` dans la distribution " "des sources Python." #: using/configure.rst:17 msgid "General Options" msgstr "Options générales" #: using/configure.rst:21 msgid "" "Support loadable extensions in the :mod:`_sqlite` extension module (default " "is no)." msgstr "" "Active la prise en charge des extensions chargeables dans le module " "d'extension :mod:`_sqlite` (désactivé par défaut)." #: using/configure.rst:24 msgid "" "See the :meth:`sqlite3.Connection.enable_load_extension` method of the :mod:" "`sqlite3` module." msgstr "" "Voir la méthode :meth:`sqlite3.Connection.enable_load_extension` du module :" "mod:`sqlite3`." #: using/configure.rst:31 msgid "" "Disable IPv6 support (enabled by default if supported), see the :mod:" "`socket` module." msgstr "" "Désactive la prise en charge d'IPv6 (activé par défaut si géré), voir le " "module :mod:`socket`." #: using/configure.rst:36 msgid "Define the size in bits of Python :class:`int` digits: 15 or 30 bits." msgstr "" "Définit la taille en bits des chiffres Python :class:`int` : 15 ou 30 bits." #: using/configure.rst:38 msgid "" "By default, the number of bits is selected depending on ``sizeof(void*)``: " "30 bits if ``void*`` size is 64-bit or larger, 15 bits otherwise." msgstr "" #: using/configure.rst:41 msgid "Define the ``PYLONG_BITS_IN_DIGIT`` to ``15`` or ``30``." msgstr "Définit ``PYLONG_BITS_IN_DIGIT`` à ``15`` ou ``30``." #: using/configure.rst:43 msgid "See :data:`sys.int_info.bits_per_digit `." msgstr "Voir :data:`sys.int_info.bits_per_digit `." #: using/configure.rst:48 msgid "" "Compile the Python ``main()`` function and link Python executable with C++ " "compiler: ``$CXX``, or *COMPILER* if specified." msgstr "" "Utilise le compilateur C++ (``$CXX``, ou *COMPILER* si spécifié) pour " "compiler la fonction Python ``main()`` et l'édition des liens de " "l'exécutable Python." #: using/configure.rst:53 msgid "Set the Python executable suffix to *SUFFIX*." msgstr "Définit à *SUFFIX* le suffixe de l'exécutable Python." #: using/configure.rst:55 msgid "" "The default suffix is ``.exe`` on Windows and macOS (``python.exe`` " "executable), and an empty string on other platforms (``python`` executable)." msgstr "" #: using/configure.rst:60 msgid "" "Select the default time zone search path for :data:`zoneinfo.TZPATH`. See " "the :ref:`Compile-time configuration ` of " "the :mod:`zoneinfo` module." msgstr "" "Définit le chemin par défaut de recherche des fuseaux horaires pour :data:" "`zoneinfo.TZPATH`. Voir la :ref:`Configuration à la compilation " "` du module :mod:`zoneinfo`." #: using/configure.rst:64 msgid "" "Default: ``/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/" "etc/zoneinfo``." msgstr "" "Par défaut : ``/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/" "zoneinfo:/etc/zoneinfo``." #: using/configure.rst:66 msgid "See :data:`os.pathsep` path separator." msgstr "Voir le séparateur de chemins :data:`os.pathsep`." #: using/configure.rst:72 msgid "" "Build the ``_decimal`` extension module using a thread-local context rather " "than a coroutine-local context (default), see the :mod:`decimal` module." msgstr "" "Compile le module d'extension ``_decimal`` en utilisant un contexte local au " "fil d'exécution plutôt qu'un contexte local de coroutine (défaut). Voir le " "module :mod:`decimal`." #: using/configure.rst:75 msgid "See :data:`decimal.HAVE_CONTEXTVAR` and the :mod:`contextvars` module." msgstr "Voir :data:`decimal.HAVE_CONTEXTVAR` et le module :mod:`contextvars`." #: using/configure.rst:81 msgid "Override order to check db backends for the :mod:`dbm` module" msgstr "" "Change l'ordre de détection des implémentations de base de données pour le " "module :mod:`dbm`." #: using/configure.rst:83 msgid "" "A valid value is a colon (``:``) separated string with the backend names:" msgstr "" "Une valeur valide est une chaîne de noms d'implémentations séparés par des " "deux-points (``:``)." #: using/configure.rst:85 msgid "``ndbm``;" msgstr "``ndbm`` ;" #: using/configure.rst:86 msgid "``gdbm``;" msgstr "``gdbm`` ;" #: using/configure.rst:87 msgid "``bdb``." msgstr "``bdb``." #: using/configure.rst:91 msgid "Disable C locale coercion to a UTF-8 based locale (enabled by default)." msgstr "" "Désactive le forçage des paramètres régionaux C pour un paramètre régional " "basé sur UTF-8 (activé par défaut)." #: using/configure.rst:93 msgid "Don't define the ``PY_COERCE_C_LOCALE`` macro." msgstr "Ne pas définir la macro ``PY_COERCE_C_LOCALE``." #: using/configure.rst:95 msgid "See :envvar:`PYTHONCOERCECLOCALE` and the :pep:`538`." msgstr "Voir :envvar:`PYTHONCOERCECLOCALE` et la :pep:`538`." #: using/configure.rst:99 msgid "Python library directory name (default is ``lib``)." msgstr "Nom du dossier de bibliothèques Python (par défaut : ``lib``)." #: using/configure.rst:101 msgid "Fedora and SuSE use ``lib64`` on 64-bit platforms." msgstr "Fedora et SuSE utilisent ``lib64`` sur les systèmes 64-bit." #: using/configure.rst:103 msgid "See :data:`sys.platlibdir`." msgstr "Voir :data:`sys.platlibdir`." #: using/configure.rst:109 msgid "" "Directory of wheel packages used by the :mod:`ensurepip` module (none by " "default)." msgstr "" "Dossier de paquets *wheel* utilisé par le module :mod:`ensurepip` (par " "défaut : aucun)." #: using/configure.rst:112 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 "" "La politique de paquets de certaines distributions Linux déconseille " "l'inclusion des dépendances. Par exemple, Fedora installe les paquets " "*wheel* dans le répertoire ``/usr/share/python-wheels/`` et n'installe pas " "le paquet :mod:`ensurepip._bundled`." #: using/configure.rst:121 msgid "Install Options" msgstr "Options d'installation" #: using/configure.rst:125 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 "" "Désactive la compilation et l'installation des modules de test, comme le " "paquet :mod:`test` et le module d'extension :mod:`_testcapi` (compilés et " "installés par défaut)." #: using/configure.rst:132 msgid "Select the :mod:`ensurepip` command run on Python installation:" msgstr "" "Sélectionne la commande :mod:`ensurepip` exécutée à l'installation de " "Python :" #: using/configure.rst:134 msgid "" "``upgrade`` (default): run ``python -m ensurepip --altinstall --upgrade`` " "command." msgstr "" "``upgrade`` (défaut) : exécute la commande ``python -m ensurepip --" "altinstall --upgrade`` ;" #: using/configure.rst:136 msgid "``install``: run ``python -m ensurepip --altinstall`` command;" msgstr "" "``install`` : exécute la commande ``python -m ensurepip --altinstall`` ;" #: using/configure.rst:137 msgid "``no``: don't run ensurepip;" msgstr "``no`` : n'exécute pas *ensurepip*." #: using/configure.rst:143 msgid "Performance options" msgstr "Options de performance" #: using/configure.rst:145 msgid "" "Configuring Python using ``--enable-optimizations --with-lto`` (PGO + LTO) " "is recommended for best performance." msgstr "" "Pour de meilleures performances, il est recommandé de configurer Python avec " "``--enable-optimizations --with-lto`` (*PGO* + *LTO*)." #: using/configure.rst:150 msgid "" "Enable Profile Guided Optimization (PGO) using :envvar:`PROFILE_TASK` " "(disabled by default)." msgstr "" "Active l'optimisation guidée par profilage (*Profile Guided Optimization*, " "PGO) en utilisant :envvar:`PROFILE_TASK` (désactivé par défaut)." #: using/configure.rst:153 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 "" "L'utilisation de PGO avec le compilateur C Clang nécessite ``llvm-" "profdata``. Sur macOS, GCC est juste un alias vers Clang et partage donc " "cette contrainte." #: using/configure.rst:156 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 "" "Désactive également l'interposition sémantique dans *libpython* si GCC est " "utilisé avec ``--enable-shared`` : ajoute l'option ``-fno-semantic-" "interposition`` à la compilation et à l'édition des liens." #: using/configure.rst:162 msgid "Use ``-fno-semantic-interposition`` on GCC." msgstr "Utilisation de ``-fno-semantic-interposition`` avec GCC." #: using/configure.rst:167 msgid "" "Environment variable used in the Makefile: Python command line arguments for " "the PGO generation task." msgstr "" "Variable d'environnement utilisée dans le ``Makefile`` : arguments Python " "utilisés pour la tâche de préparation de la PGO." #: using/configure.rst:170 msgid "Default: ``-m test --pgo --timeout=$(TESTTIMEOUT)``." msgstr "Par défaut : ``-m test --pgo --timeout=$(TESTTIMEOUT)``." #: using/configure.rst:176 msgid "Enable Link Time Optimization (LTO) in any build (disabled by default)." msgstr "" "Active l'optimisation à l'édition des liens (*Link Time Optimization*, LTO) " "à la compilation (désactivé par défaut)." #: using/configure.rst:178 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 "" "Le compilateur C Clang nécessite ``llvm-ar`` pour la LTO (``ar`` sur macOS), " "ainsi qu'un éditeur de liens implémentant la LTO (``ld.gold`` ou ``lld``)." #: using/configure.rst:185 msgid "" "Enable computed gotos in evaluation loop (enabled by default on supported " "compilers)." msgstr "" "Autorise les *gotos* calculés dans les boucles (activé par défaut pour les " "compilateurs qui le gèrent)." #: using/configure.rst:190 msgid "" "Disable the specialized Python memory allocator :ref:`pymalloc ` " "(enabled by default)." msgstr "" "Désactive l'allocateur spécialisé de mémoire de Python :ref:`pymalloc " "` (activé par défaut)." #: using/configure.rst:193 msgid "See also :envvar:`PYTHONMALLOC` environment variable." msgstr "Voir aussi la variable d'environnement :envvar:`PYTHONMALLOC`." #: using/configure.rst:197 msgid "" "Disable static documentation strings to reduce the memory footprint (enabled " "by default). Documentation strings defined in Python are not affected." msgstr "" "Désactive les chaînes de documentation statiques pour réduire l'empreinte " "mémoire (activé par défaut). Les chaînes définies dans Python ne sont pas " "affectées." #: using/configure.rst:200 msgid "Don't define the ``WITH_DOC_STRINGS`` macro." msgstr "Ne définit pas la macro ``WITH_DOC_STRINGS``." #: using/configure.rst:202 msgid "See the ``PyDoc_STRVAR()`` macro." msgstr "Voir la macro ``PyDoc_STRVAR()``." #: using/configure.rst:206 msgid "Enable C-level code profiling with ``gprof`` (disabled by default)." msgstr "Active le profilage du code C avec ``gprof`` (désactivé par défaut)." #: using/configure.rst:212 msgid "Python Debug Build" msgstr "Compilation de Python en mode débogage" #: using/configure.rst:214 msgid "" "A debug build is Python built with the :option:`--with-pydebug` configure " "option." msgstr "" "Une compilation de Python en mode débogage se fait avec l'option de " "configuration :option:`--with-pydebug`." #: using/configure.rst:217 msgid "Effects of a debug build:" msgstr "Effets du mode débogage :" #: using/configure.rst:219 msgid "" "Display all warnings by default: the list of default warning filters is " "empty in the :mod:`warnings` module." msgstr "" "Affichage de tous les avertissements par défaut : le filtre par défaut des " "avertissements est vide dans le module :mod:`warnings`." #: using/configure.rst:221 msgid "Add ``d`` to :data:`sys.abiflags`." msgstr "Ajout de ``d`` à :data:`sys.abiflags`." #: using/configure.rst:222 msgid "Add :func:`sys.gettotalrefcount` function." msgstr "Ajout de la fonction :func:`sys.gettotalrefcount`." #: using/configure.rst:223 msgid "Add :option:`-X showrefcount <-X>` command line option." msgstr "Ajout de l'option de ligne de commande :option:`-X showrefcount <-X>`." #: using/configure.rst:224 msgid "Add :envvar:`PYTHONTHREADDEBUG` environment variable." msgstr "Ajout de la variable d'environnement :envvar:`PYTHONTHREADDEBUG`." #: using/configure.rst:225 msgid "" "Add support for the ``__ltrace__`` variable: enable low-level tracing in the " "bytecode evaluation loop if the variable is defined." msgstr "" #: using/configure.rst:227 msgid "" "Install :ref:`debug hooks on memory allocators ` " "to detect buffer overflow and other memory errors." msgstr "" "Installation des :ref:`debug hooks on memory allocators ` pour détecter les débordements de mémoire tampon et autres " "erreurs de mémoire." #: using/configure.rst:229 msgid "Define ``Py_DEBUG`` and ``Py_REF_DEBUG`` macros." msgstr "Définition des macros ``Py_DEBUG`` et ``Py_REF_DEBUG``." #: using/configure.rst:230 msgid "" "Add runtime checks: code surroundeded 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:235 msgid "Add sanity checks on the function arguments." msgstr "Ajout des contrôles d'intégrité sur les arguments de fonction." #: using/configure.rst:236 msgid "" "Unicode and int objects are created with their memory filled with a pattern " "to detect usage of uninitialized objects." msgstr "" "Les objets ``unicode`` et ``int`` sont créés avec un motif particulier à " "l'initialisation de leur mémoire afin de détecter l'usage d'objets non " "initialisés." #: using/configure.rst:238 msgid "" "Ensure that functions which can clear or replace the current exception are " "not called with an exception raised." msgstr "" "S'assurer que les fonctions qui peuvent effacer ou remplacer l'exception " "courante ne sont pas appelées avec une exception levée." #: using/configure.rst:240 msgid "" "The garbage collector (:func:`gc.collect` function) runs some basic checks " "on objects consistency." msgstr "" "Le ramasse-miettes (la fonction :func:`gc.collect`) effectue quelques tests " "basiques relatifs à la cohérence des objets." #: using/configure.rst:242 msgid "" "The :c:macro:`Py_SAFE_DOWNCAST()` macro checks for integer underflow and " "overflow when downcasting from wide types to narrow types." msgstr "" "La macro :c:macro:`Py_SAFE_DOWNCAST()` vérifie s'il y a des débordements " "d'entier lors du passage de types grands vers des types plus petits." #: using/configure.rst:245 msgid "" "See also the :ref:`Python Development Mode ` and the :option:`--" "with-trace-refs` configure option." msgstr "" "Voir aussi le :ref:`mode de développement Python ` et l'option de " "configuration :option:`--with-trace-refs`." #: using/configure.rst:248 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:256 msgid "Debug options" msgstr "" #: using/configure.rst:260 msgid "" ":ref:`Build Python in debug mode `: define the ``Py_DEBUG`` " "macro (disabled by default)." msgstr "" #: using/configure.rst:265 msgid "Enable tracing references for debugging purpose (disabled by default)." msgstr "" #: using/configure.rst:267 msgid "Effects:" msgstr "" #: using/configure.rst:269 msgid "Define the ``Py_TRACE_REFS`` macro." msgstr "" #: using/configure.rst:270 msgid "Add :func:`sys.getobjects` function." msgstr "" #: using/configure.rst:271 msgid "Add :envvar:`PYTHONDUMPREFS` environment variable." msgstr "" #: using/configure.rst:273 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:280 msgid "" "Build with C assertions enabled (default is no): ``assert(...);`` and " "``_PyObject_ASSERT(...);``." msgstr "" #: using/configure.rst:283 msgid "" "If set, the ``NDEBUG`` macro is not defined in the :envvar:`OPT` compiler " "variable." msgstr "" #: using/configure.rst:286 msgid "" "See also the :option:`--with-pydebug` option (:ref:`debug build `) which also enables assertions." msgstr "" #: using/configure.rst:293 msgid "Enable Valgrind support (default is no)." msgstr "" #: using/configure.rst:297 msgid "Enable DTrace support (default is no)." msgstr "" #: using/configure.rst:299 msgid "" "See :ref:`Instrumenting CPython with DTrace and SystemTap `." msgstr "" #: using/configure.rst:306 msgid "" "Enable AddressSanitizer memory error detector, ``asan`` (default is no)." msgstr "" #: using/configure.rst:312 msgid "" "Enable MemorySanitizer allocation error detector, ``msan`` (default is no)." msgstr "" #: using/configure.rst:318 msgid "" "Enable UndefinedBehaviorSanitizer undefined behaviour detector, ``ubsan`` " "(default is no)." msgstr "" #: using/configure.rst:325 msgid "Linker options" msgstr "" #: using/configure.rst:329 msgid "Enable building a shared Python library: ``libpython`` (default is no)." msgstr "" #: using/configure.rst:333 msgid "" "Do not build ``libpythonMAJOR.MINOR.a`` and do not install ``python.o`` " "(built and enabled by default)." msgstr "" #: using/configure.rst:340 msgid "Libraries options" msgstr "" #: using/configure.rst:344 msgid "Link against additional libraries (default is no)." msgstr "" #: using/configure.rst:348 msgid "" "Build the :mod:`pyexpat` module using an installed ``expat`` library " "(default is no)." msgstr "" #: using/configure.rst:353 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:358 msgid "" "Build the ``_decimal`` extension module using an installed ``mpdec`` " "library, see the :mod:`decimal` module (default is no)." msgstr "" #: using/configure.rst:365 msgid "Use ``editline`` library for backend of the :mod:`readline` module." msgstr "" #: using/configure.rst:367 msgid "Define the ``WITH_EDITLINE`` macro." msgstr "" #: using/configure.rst:373 msgid "Don't build the :mod:`readline` module (built by default)." msgstr "" #: using/configure.rst:375 msgid "Don't define the ``HAVE_LIBREADLINE`` macro." msgstr "" #: using/configure.rst:381 msgid "Override search for Tcl and Tk include files." msgstr "" #: using/configure.rst:385 msgid "Override search for Tcl and Tk libraries." msgstr "" #: using/configure.rst:389 msgid "" "Override ``libm`` math library to *STRING* (default is system-dependent)." msgstr "" #: using/configure.rst:393 msgid "Override ``libc`` C library to *STRING* (default is system-dependent)." msgstr "" #: using/configure.rst:397 msgid "Root of the OpenSSL directory." msgstr "" #: using/configure.rst:403 msgid "Set runtime library directory (rpath) for OpenSSL libraries:" msgstr "" #: using/configure.rst:405 msgid "``no`` (default): don't set rpath;" msgstr "" #: using/configure.rst:406 msgid "" "``auto``: auto-detect rpath from :option:`--with-openssl` and ``pkg-config``;" msgstr "" #: using/configure.rst:408 msgid "*DIR*: set an explicit rpath." msgstr "" #: using/configure.rst:414 msgid "Security Options" msgstr "" #: using/configure.rst:418 msgid "Select hash algorithm for use in ``Python/pyhash.c``:" msgstr "" #: using/configure.rst:420 msgid "``siphash24`` (default)." msgstr "" #: using/configure.rst:421 msgid "``fnv``;" msgstr "" #: using/configure.rst:427 msgid "Built-in hash modules:" msgstr "" #: using/configure.rst:429 msgid "``md5``;" msgstr "" #: using/configure.rst:430 msgid "``sha1``;" msgstr "" #: using/configure.rst:431 msgid "``sha256``;" msgstr "" #: using/configure.rst:432 msgid "``sha512``;" msgstr "" #: using/configure.rst:433 msgid "``sha3`` (with shake);" msgstr "" #: using/configure.rst:434 msgid "``blake2``." msgstr "" #: using/configure.rst:440 msgid "Override the OpenSSL default cipher suites string:" msgstr "" #: using/configure.rst:442 msgid "``python`` (default): use Python's preferred selection;" msgstr "" #: using/configure.rst:443 msgid "``openssl``: leave OpenSSL's defaults untouched;" msgstr "" #: using/configure.rst:444 msgid "*STRING*: use a custom string" msgstr "" #: using/configure.rst:446 msgid "See the :mod:`ssl` module." msgstr "" #: using/configure.rst:452 msgid "" "The settings ``python`` and *STRING* also set TLS 1.2 as minimum protocol " "version." msgstr "" #: using/configure.rst:456 msgid "macOS Options" msgstr "" #: using/configure.rst:458 msgid "See ``Mac/README.rst``." msgstr "" #: using/configure.rst:463 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:469 msgid "" "Create a Python.framework rather than a traditional Unix install. Optional " "*INSTALLDIR* specifies the installation path (default is no)." msgstr "" #: using/configure.rst:474 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:477 msgid "Options:" msgstr "" #: using/configure.rst:479 msgid "``universal2``;" msgstr "" #: using/configure.rst:480 msgid "``32-bit``;" msgstr "" #: using/configure.rst:481 msgid "``64-bit``;" msgstr "" #: using/configure.rst:482 msgid "``3-way``;" msgstr "" #: using/configure.rst:483 msgid "``intel``;" msgstr "" #: using/configure.rst:484 msgid "``intel-32``;" msgstr "" #: using/configure.rst:485 msgid "``intel-64``;" msgstr "" #: using/configure.rst:486 msgid "``all``." msgstr "" #: using/configure.rst:490 msgid "" "Specify the name for the python framework on macOS only valid when :option:" "`--enable-framework` is set (default: ``Python``)." msgstr "" #: using/configure.rst:495 msgid "Python Build System" msgstr "" #: using/configure.rst:498 msgid "Main files of the build system" msgstr "" #: using/configure.rst:500 msgid ":file:`configure.ac` => :file:`configure`;" msgstr "" #: using/configure.rst:501 msgid "" ":file:`Makefile.pre.in` => :file:`Makefile` (created by :file:`configure`);" msgstr "" #: using/configure.rst:502 msgid ":file:`pyconfig.h` (created by :file:`configure`);" msgstr "" #: using/configure.rst:503 msgid "" ":file:`Modules/Setup`: C extensions built by the Makefile using :file:" "`Module/makesetup` shell script;" msgstr "" #: using/configure.rst:505 msgid ":file:`setup.py`: C extensions built using the :mod:`distutils` module." msgstr "" #: using/configure.rst:508 msgid "Main build steps" msgstr "" #: using/configure.rst:510 msgid "C files (``.c``) are built as object files (``.o``)." msgstr "" #: using/configure.rst:511 msgid "A static ``libpython`` library (``.a``) is created from objects files." msgstr "" #: using/configure.rst:512 msgid "" "``python.o`` and the static ``libpython`` library are linked into the final " "``python`` program." msgstr "" #: using/configure.rst:514 msgid "" "C extensions are built by the Makefile (see :file:`Modules/Setup`) and " "``python setup.py build``." msgstr "" #: using/configure.rst:518 msgid "Main Makefile targets" msgstr "" #: using/configure.rst:520 msgid "``make``: Build Python with the standard library." msgstr "" #: using/configure.rst:521 msgid "" "``make platform:``: build the ``python`` program, but don't build the " "standard library extension modules." msgstr "" #: using/configure.rst:523 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:527 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:530 msgid "``make install``: Build and install Python." msgstr "" #: using/configure.rst:531 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:534 msgid "``make clean``: Remove built files." msgstr "" #: using/configure.rst:535 msgid "" "``make distclean``: Same than ``make clean``, but remove also files created " "by the configure script." msgstr "" #: using/configure.rst:539 msgid "C extensions" msgstr "" #: using/configure.rst:541 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:553 msgid "" "Other C extensins 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:563 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:567 msgid "" "The :file:`setup.py` script only builds C extensions as shared libraries " "using the :mod:`distutils` module." msgstr "" #: using/configure.rst:570 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:574 msgid "Use ``Py_EXPORTED_SYMBOL`` if the ``Py_BUILD_CORE_MODULE`` is defined" msgstr "" #: using/configure.rst:575 msgid "Use ``Py_IMPORTED_SYMBOL`` otherwise." msgstr "" #: using/configure.rst:577 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:583 msgid "Compiler and linker flags" msgstr "" #: using/configure.rst:585 msgid "" "Options set by the ``./configure`` script and environment variables and used " "by ``Makefile``." msgstr "" #: using/configure.rst:589 msgid "Preprocessor flags" msgstr "" #: using/configure.rst:593 msgid "" "Value of :envvar:`CPPFLAGS` variable passed to the ``./configure`` script." msgstr "" #: using/configure.rst:599 msgid "" "(Objective) C/C++ preprocessor flags, e.g. ``-I`` if you have " "headers in a nonstandard directory ````." msgstr "" #: using/configure.rst:797 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:612 msgid "" "Extra preprocessor flags added for building the interpreter object files." msgstr "" #: using/configure.rst:614 msgid "" "Default: ``$(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) " "$(CPPFLAGS)``." msgstr "" #: using/configure.rst:619 msgid "Compiler flags" msgstr "" #: using/configure.rst:623 msgid "C compiler command." msgstr "" #: using/configure.rst:625 msgid "Example: ``gcc -pthread``." msgstr "" #: using/configure.rst:629 msgid "" "C compiler command used to build the ``main()`` function of programs like " "``python``." msgstr "" #: using/configure.rst:632 msgid "" "Variable set by the :option:`--with-cxx-main` option of the configure script." msgstr "" #: using/configure.rst:635 msgid "Default: ``$(CC)``." msgstr "" #: using/configure.rst:639 msgid "C++ compiler command." msgstr "" #: using/configure.rst:641 msgid "Used if the :option:`--with-cxx-main` option is used." msgstr "" #: using/configure.rst:643 msgid "Example: ``g++ -pthread``." msgstr "" #: using/configure.rst:647 msgid "C compiler flags." msgstr "" #: using/configure.rst:651 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:655 msgid "In particular, :envvar:`CFLAGS` should not contain:" msgstr "" #: using/configure.rst:657 msgid "" "the compiler flag ``-I`` (for setting the search path for include files). " "The ``-I`` flags are processed from left to right, and any flags in :envvar:" "`CFLAGS` would take precedence over user- and package-supplied ``-I`` flags." msgstr "" #: using/configure.rst:662 msgid "" "hardening flags such as ``-Werror`` because distributions cannot control " "whether packages installed by users conform to such heightened standards." msgstr "" #: using/configure.rst:670 msgid "Extra C compiler flags." msgstr "" #: using/configure.rst:674 msgid "" "Value of :envvar:`CFLAGS` variable passed to the ``./configure`` script." msgstr "" #: using/configure.rst:681 msgid "" "Value of :envvar:`CFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" #: using/configure.rst:688 msgid "Base compiler flags." msgstr "" #: using/configure.rst:692 msgid "Optimization flags." msgstr "" #: using/configure.rst:696 msgid "Strict or non-strict aliasing flags used to compile ``Python/dtoa.c``." msgstr "" #: using/configure.rst:702 msgid "Compiler flags used to build a shared library." msgstr "" #: using/configure.rst:704 msgid "For example, ``-fPIC`` is used on Linux and on BSD." msgstr "" #: using/configure.rst:708 msgid "Extra C flags added for building the interpreter object files." msgstr "" #: using/configure.rst:710 msgid "" "Default: ``$(CCSHARED)`` when :option:`--enable-shared` is used, or an empty " "string otherwise." msgstr "" #: using/configure.rst:715 msgid "" "Default: ``$(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) " "$(EXTRA_CFLAGS)``." msgstr "" #: using/configure.rst:719 msgid "" "Default: ``$(CONFIGURE_CFLAGS_NODIST) $(CFLAGS_NODIST) -I$(srcdir)/Include/" "internal``." msgstr "" #: using/configure.rst:725 msgid "C flags used for building the interpreter object files." msgstr "" #: using/configure.rst:727 msgid "" "Default: ``$(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) " "$(CFLAGSFORSHARED)``." msgstr "" #: using/configure.rst:733 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE``." msgstr "" #: using/configure.rst:739 msgid "" "Compiler flags to build a standard library extension module as a built-in " "module, like the :mod:`posix` module." msgstr "" #: using/configure.rst:742 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE_BUILTIN``." msgstr "" #: using/configure.rst:748 msgid "Purify command. Purify is a memory debugger program." msgstr "" #: using/configure.rst:750 msgid "Default: empty string (not used)." msgstr "" #: using/configure.rst:754 msgid "Linker flags" msgstr "" #: using/configure.rst:758 msgid "" "Linker command used to build programs like ``python`` and ``_testembed``." msgstr "" #: using/configure.rst:760 msgid "Default: ``$(PURIFY) $(MAINCC)``." msgstr "" #: using/configure.rst:764 msgid "" "Value of :envvar:`LDFLAGS` variable passed to the ``./configure`` script." msgstr "" #: using/configure.rst:766 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:774 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:778 msgid "In particular, :envvar:`LDFLAGS` should not contain:" msgstr "" #: using/configure.rst:780 msgid "" "the compiler flag ``-L`` (for setting the search path for libraries). The ``-" "L`` flags are processed from left to right, and any flags in :envvar:" "`LDFLAGS` would take precedence over user- and package-supplied ``-L`` flags." msgstr "" #: using/configure.rst:787 msgid "" "Value of :envvar:`LDFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" #: using/configure.rst:794 msgid "" "Linker flags, e.g. ``-L`` if you have libraries in a nonstandard " "directory ````." msgstr "" #: using/configure.rst:803 msgid "" "Linker flags to pass libraries to the linker when linking the Python " "executable." msgstr "" #: using/configure.rst:806 msgid "Example: ``-lrt``." msgstr "" #: using/configure.rst:810 msgid "Command to build a shared library." msgstr "" #: using/configure.rst:812 msgid "Default: ``@LDSHARED@ $(PY_LDFLAGS)``." msgstr "" #: using/configure.rst:816 msgid "Command to build ``libpython`` shared library." msgstr "" #: using/configure.rst:818 msgid "Default: ``@BLDSHARED@ $(PY_CORE_LDFLAGS)``." msgstr "" #: using/configure.rst:822 msgid "Default: ``$(CONFIGURE_LDFLAGS) $(LDFLAGS)``." msgstr "" #: using/configure.rst:826 msgid "Default: ``$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST)``." msgstr "" #: using/configure.rst:832 msgid "Linker flags used for building the interpreter object files." msgstr ""