1
0
Fork 0
python-docs-fr/library/sysconfig.po

392 lines
11 KiB
Plaintext
Raw Normal View History

2018-07-04 09:06:45 +00:00
# Copyright (C) 2001-2018, Python Software Foundation
2018-07-04 09:08:42 +00:00
# For licence information, see README file.
2016-10-30 09:46:26 +00:00
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
2018-06-28 13:32:56 +00:00
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
2016-10-30 09:46:26 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
2018-07-04 09:14:25 +00:00
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/sysconfig.rst:2
msgid ""
":mod:`sysconfig` --- Provide access to Python's configuration information"
msgstr ""
#: ../Doc/library/sysconfig.rst:12
msgid "**Source code:** :source:`Lib/sysconfig.py`"
msgstr ""
#: ../Doc/library/sysconfig.rst:19
msgid ""
"The :mod:`sysconfig` module provides access to Python's configuration "
"information like the list of installation paths and the configuration "
"variables relevant for the current platform."
msgstr ""
#: ../Doc/library/sysconfig.rst:24
msgid "Configuration variables"
msgstr ""
#: ../Doc/library/sysconfig.rst:26
msgid ""
"A Python distribution contains a :file:`Makefile` and a :file:`pyconfig.h` "
"header file that are necessary to build both the Python binary itself and "
"third-party C extensions compiled using :mod:`distutils`."
msgstr ""
#: ../Doc/library/sysconfig.rst:30
msgid ""
":mod:`sysconfig` puts all variables found in these files in a dictionary "
"that can be accessed using :func:`get_config_vars` or :func:`get_config_var`."
msgstr ""
#: ../Doc/library/sysconfig.rst:33
msgid "Notice that on Windows, it's a much smaller set."
msgstr ""
#: ../Doc/library/sysconfig.rst:37
msgid ""
"With no arguments, return a dictionary of all configuration variables "
"relevant for the current platform."
msgstr ""
#: ../Doc/library/sysconfig.rst:40
msgid ""
"With arguments, return a list of values that result from looking up each "
"argument in the configuration variable dictionary."
msgstr ""
#: ../Doc/library/sysconfig.rst:43
msgid "For each argument, if the value is not found, return ``None``."
msgstr ""
#: ../Doc/library/sysconfig.rst:48
msgid ""
"Return the value of a single variable *name*. Equivalent to "
"``get_config_vars().get(name)``."
msgstr ""
#: ../Doc/library/sysconfig.rst:51 ../Doc/library/sysconfig.rst:141
msgid "If *name* is not found, return ``None``."
msgstr ""
#: ../Doc/library/sysconfig.rst:53
msgid "Example of usage::"
msgstr ""
#: ../Doc/library/sysconfig.rst:65
msgid "Installation paths"
msgstr ""
#: ../Doc/library/sysconfig.rst:67
msgid ""
"Python uses an installation scheme that differs depending on the platform "
"and on the installation options. These schemes are stored in :mod:"
"`sysconfig` under unique identifiers based on the value returned by :const:"
"`os.name`."
msgstr ""
#: ../Doc/library/sysconfig.rst:71
msgid ""
"Every new component that is installed using :mod:`distutils` or a Distutils-"
"based system will follow the same scheme to copy its file in the right "
"places."
msgstr ""
#: ../Doc/library/sysconfig.rst:75
msgid "Python currently supports seven schemes:"
msgstr ""
#: ../Doc/library/sysconfig.rst:77
msgid ""
"*posix_prefix*: scheme for Posix platforms like Linux or Mac OS X. This is "
"the default scheme used when Python or a component is installed."
msgstr ""
#: ../Doc/library/sysconfig.rst:79
msgid ""
"*posix_home*: scheme for Posix platforms used when a *home* option is used "
"upon installation. This scheme is used when a component is installed "
"through Distutils with a specific home prefix."
msgstr ""
#: ../Doc/library/sysconfig.rst:82
msgid ""
"*posix_user*: scheme for Posix platforms used when a component is installed "
"through Distutils and the *user* option is used. This scheme defines paths "
"located under the user home directory."
msgstr ""
#: ../Doc/library/sysconfig.rst:85
msgid "*nt*: scheme for NT platforms like Windows."
msgstr ""
#: ../Doc/library/sysconfig.rst:86
msgid "*nt_user*: scheme for NT platforms, when the *user* option is used."
msgstr ""
#: ../Doc/library/sysconfig.rst:88
msgid ""
"Each scheme is itself composed of a series of paths and each path has a "
"unique identifier. Python currently uses eight paths:"
msgstr ""
#: ../Doc/library/sysconfig.rst:91
msgid ""
"*stdlib*: directory containing the standard Python library files that are "
"not platform-specific."
msgstr ""
#: ../Doc/library/sysconfig.rst:93
msgid ""
"*platstdlib*: directory containing the standard Python library files that "
"are platform-specific."
msgstr ""
#: ../Doc/library/sysconfig.rst:95
msgid "*platlib*: directory for site-specific, platform-specific files."
msgstr ""
#: ../Doc/library/sysconfig.rst:96
msgid "*purelib*: directory for site-specific, non-platform-specific files."
msgstr ""
#: ../Doc/library/sysconfig.rst:97
msgid "*include*: directory for non-platform-specific header files."
msgstr ""
#: ../Doc/library/sysconfig.rst:98
msgid "*platinclude*: directory for platform-specific header files."
msgstr ""
#: ../Doc/library/sysconfig.rst:99
msgid "*scripts*: directory for script files."
msgstr ""
#: ../Doc/library/sysconfig.rst:100
msgid "*data*: directory for data files."
msgstr ""
#: ../Doc/library/sysconfig.rst:102
msgid ":mod:`sysconfig` provides some functions to determine these paths."
msgstr ""
#: ../Doc/library/sysconfig.rst:106
msgid ""
"Return a tuple containing all schemes currently supported in :mod:"
"`sysconfig`."
msgstr ""
#: ../Doc/library/sysconfig.rst:112
msgid ""
"Return a tuple containing all path names currently supported in :mod:"
"`sysconfig`."
msgstr ""
#: ../Doc/library/sysconfig.rst:118
msgid ""
"Return an installation path corresponding to the path *name*, from the "
"install scheme named *scheme*."
msgstr ""
#: ../Doc/library/sysconfig.rst:121
msgid ""
"*name* has to be a value from the list returned by :func:`get_path_names`."
msgstr ""
#: ../Doc/library/sysconfig.rst:123
msgid ""
":mod:`sysconfig` stores installation paths corresponding to each path name, "
"for each platform, with variables to be expanded. For instance the *stdlib* "
"path for the *nt* scheme is: ``{base}/Lib``."
msgstr ""
#: ../Doc/library/sysconfig.rst:127
msgid ""
":func:`get_path` will use the variables returned by :func:`get_config_vars` "
"to expand the path. All variables have default values for each platform so "
"one may call this function and get the default value."
msgstr ""
#: ../Doc/library/sysconfig.rst:131
msgid ""
"If *scheme* is provided, it must be a value from the list returned by :func:"
"`get_scheme_names`. Otherwise, the default scheme for the current platform "
"is used."
msgstr ""
#: ../Doc/library/sysconfig.rst:135
msgid ""
"If *vars* is provided, it must be a dictionary of variables that will update "
"the dictionary return by :func:`get_config_vars`."
msgstr ""
#: ../Doc/library/sysconfig.rst:138
msgid ""
"If *expand* is set to ``False``, the path will not be expanded using the "
"variables."
msgstr ""
#: ../Doc/library/sysconfig.rst:146
msgid ""
"Return a dictionary containing all installation paths corresponding to an "
"installation scheme. See :func:`get_path` for more information."
msgstr ""
#: ../Doc/library/sysconfig.rst:149
msgid ""
"If *scheme* is not provided, will use the default scheme for the current "
"platform."
msgstr ""
#: ../Doc/library/sysconfig.rst:152
msgid ""
"If *vars* is provided, it must be a dictionary of variables that will update "
"the dictionary used to expand the paths."
msgstr ""
#: ../Doc/library/sysconfig.rst:155
msgid "If *expand* is set to false, the paths will not be expanded."
msgstr ""
#: ../Doc/library/sysconfig.rst:157
msgid ""
"If *scheme* is not an existing scheme, :func:`get_paths` will raise a :exc:"
"`KeyError`."
msgstr ""
#: ../Doc/library/sysconfig.rst:162
msgid "Other functions"
msgstr ""
#: ../Doc/library/sysconfig.rst:166
msgid ""
"Return the ``MAJOR.MINOR`` Python version number as a string. Similar to "
"``'%d.%d' % sys.version_info[:2]``."
msgstr ""
#: ../Doc/library/sysconfig.rst:172
msgid "Return a string that identifies the current platform."
msgstr ""
#: ../Doc/library/sysconfig.rst:174
msgid ""
"This is used mainly to distinguish platform-specific build directories and "
"platform-specific built distributions. Typically includes the OS name and "
2018-06-28 13:32:56 +00:00
"version and the architecture (as supplied by 'os.uname()'), although the "
"exact information included depends on the OS; e.g., on Linux, the kernel "
"version isn't particularly important."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:180
2016-10-30 09:46:26 +00:00
msgid "Examples of returned values:"
2018-11-30 17:31:12 +00:00
msgstr "Exemples de valeurs renvoyées :"
2016-10-30 09:46:26 +00:00
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:182
2016-10-30 09:46:26 +00:00
msgid "linux-i586"
msgstr "linux-i586"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:183
2016-10-30 09:46:26 +00:00
msgid "linux-alpha (?)"
msgstr "linux-alpha (?)"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:184
2016-10-30 09:46:26 +00:00
msgid "solaris-2.6-sun4u"
msgstr "solaris-2.6-sun4u"
#: ../Doc/library/sysconfig.rst:186
msgid "Windows will return one of:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:188
2016-10-30 09:46:26 +00:00
msgid "win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:189
2016-10-30 09:46:26 +00:00
msgid "win32 (all others - specifically, sys.platform is returned)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:191
2016-10-30 09:46:26 +00:00
msgid "Mac OS X can return:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:193
2016-10-30 09:46:26 +00:00
msgid "macosx-10.6-ppc"
msgstr "macosx-10.6-ppc"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:194
2016-10-30 09:46:26 +00:00
msgid "macosx-10.4-ppc64"
msgstr "macosx-10.4-ppc64"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:195
2016-10-30 09:46:26 +00:00
msgid "macosx-10.3-i386"
msgstr "macosx-10.3-i386"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:196
2016-10-30 09:46:26 +00:00
msgid "macosx-10.4-fat"
msgstr "macosx-10.4-fat"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:198
2016-10-30 09:46:26 +00:00
msgid ""
"For other non-POSIX platforms, currently just returns :data:`sys.platform`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:203
2016-10-30 09:46:26 +00:00
msgid ""
"Return ``True`` if the running Python interpreter was built from source and "
"is being run from its built location, and not from a location resulting from "
"e.g. running ``make install`` or installing via a binary installer."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:210
2016-10-30 09:46:26 +00:00
msgid "Parse a :file:`config.h`\\-style file."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:212
2016-10-30 09:46:26 +00:00
msgid ""
"*fp* is a file-like object pointing to the :file:`config.h`\\-like file."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:214
2016-10-30 09:46:26 +00:00
msgid ""
"A dictionary containing name/value pairs is returned. If an optional "
"dictionary is passed in as the second argument, it is used instead of a new "
"dictionary, and updated with the values read in the file."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:221
2016-10-30 09:46:26 +00:00
msgid "Return the path of :file:`pyconfig.h`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:225
2016-10-30 09:46:26 +00:00
msgid "Return the path of :file:`Makefile`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:228
2016-10-30 09:46:26 +00:00
msgid "Using :mod:`sysconfig` as a script"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:230
2016-10-30 09:46:26 +00:00
msgid "You can use :mod:`sysconfig` as a script with Python's *-m* option:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sysconfig.rst:256
2016-10-30 09:46:26 +00:00
msgid ""
"This call will print in the standard output the information returned by :"
"func:`get_platform`, :func:`get_python_version`, :func:`get_path` and :func:"
"`get_config_vars`."
msgstr ""
2018-06-28 13:32:56 +00:00
#~ msgid "irix-5.3"
#~ msgstr "irix-5.3"
#~ msgid "irix64-6.2"
#~ msgstr "irix64-6.2"