forked from AFPy/python-docs-fr
214 lines
6.5 KiB
Plaintext
214 lines
6.5 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: 2020-02-04 10:00+0100\n"
|
|
"PO-Revision-Date: 2017-08-10 00:59+0200\n"
|
|
"Last-Translator: Julien Palard <julien@palard.fr>\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"
|
|
"X-Generator: Poedit 1.8.11\n"
|
|
|
|
#: library/ensurepip.rst:2
|
|
msgid ":mod:`ensurepip` --- Bootstrapping the ``pip`` installer"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:12
|
|
msgid ""
|
|
"The :mod:`ensurepip` package provides support for bootstrapping the ``pip`` "
|
|
"installer into an existing Python installation or virtual environment. This "
|
|
"bootstrapping approach reflects the fact that ``pip`` is an independent "
|
|
"project with its own release cycle, and the latest available stable version "
|
|
"is bundled with maintenance and feature releases of the CPython reference "
|
|
"interpreter."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:19
|
|
msgid ""
|
|
"In most cases, end users of Python shouldn't need to invoke this module "
|
|
"directly (as ``pip`` should be bootstrapped by default), but it may be "
|
|
"needed if installing ``pip`` was skipped when installing Python (or when "
|
|
"creating a virtual environment) or after explicitly uninstalling ``pip``."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:27
|
|
msgid ""
|
|
"This module *does not* access the internet. All of the components needed to "
|
|
"bootstrap ``pip`` are included as internal parts of the package."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:34
|
|
msgid ":ref:`installing-index`"
|
|
msgstr ":ref:`installing-index`"
|
|
|
|
#: library/ensurepip.rst:34
|
|
msgid "The end user guide for installing Python packages"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:36
|
|
msgid ":pep:`453`: Explicit bootstrapping of pip in Python installations"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:37
|
|
msgid "The original rationale and specification for this module."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:41
|
|
#, fuzzy
|
|
msgid "Command line interface"
|
|
msgstr "Interface en ligne de commande"
|
|
|
|
#: library/ensurepip.rst:43
|
|
msgid ""
|
|
"The command line interface is invoked using the interpreter's ``-m`` switch."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:45
|
|
msgid "The simplest possible invocation is::"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:49
|
|
msgid ""
|
|
"This invocation will install ``pip`` if it is not already installed, but "
|
|
"otherwise does nothing. To ensure the installed version of ``pip`` is at "
|
|
"least as recent as the one bundled with ``ensurepip``, pass the ``--"
|
|
"upgrade`` option::"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:56
|
|
msgid ""
|
|
"By default, ``pip`` is installed into the current virtual environment (if "
|
|
"one is active) or into the system site packages (if there is no active "
|
|
"virtual environment). The installation location can be controlled through "
|
|
"two additional command line options:"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:61
|
|
msgid ""
|
|
"``--root <dir>``: Installs ``pip`` relative to the given root directory "
|
|
"rather than the root of the currently active virtual environment (if any) or "
|
|
"the default root for the current Python installation."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:64
|
|
msgid ""
|
|
"``--user``: Installs ``pip`` into the user site packages directory rather "
|
|
"than globally for the current Python installation (this option is not "
|
|
"permitted inside an active virtual environment)."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:68
|
|
msgid ""
|
|
"By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y "
|
|
"stands for the version of Python used to invoke ``ensurepip``). The scripts "
|
|
"installed can be controlled through two additional command line options:"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:73
|
|
msgid ""
|
|
"``--altinstall``: if an alternate installation is requested, the ``pipX`` "
|
|
"script will *not* be installed."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:76
|
|
msgid ""
|
|
"``--default-pip``: if a \"default pip\" installation is requested, the "
|
|
"``pip`` script will be installed in addition to the two regular scripts."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:79
|
|
msgid ""
|
|
"Providing both of the script selection options will trigger an exception."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:83
|
|
msgid "Module API"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:85
|
|
msgid ":mod:`ensurepip` exposes two functions for programmatic use:"
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:89
|
|
msgid ""
|
|
"Returns a string specifying the bundled version of pip that will be "
|
|
"installed when bootstrapping an environment."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:96
|
|
msgid "Bootstraps ``pip`` into the current or designated environment."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:98
|
|
msgid ""
|
|
"*root* specifies an alternative root directory to install relative to. If "
|
|
"*root* is ``None``, then installation uses the default install location for "
|
|
"the current environment."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:102
|
|
msgid ""
|
|
"*upgrade* indicates whether or not to upgrade an existing installation of an "
|
|
"earlier version of ``pip`` to the bundled version."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:105
|
|
msgid ""
|
|
"*user* indicates whether to use the user scheme rather than installing "
|
|
"globally."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:108
|
|
msgid ""
|
|
"By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y "
|
|
"stands for the current version of Python)."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:111
|
|
msgid "If *altinstall* is set, then ``pipX`` will *not* be installed."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:113
|
|
msgid ""
|
|
"If *default_pip* is set, then ``pip`` will be installed in addition to the "
|
|
"two regular scripts."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:116
|
|
msgid ""
|
|
"Setting both *altinstall* and *default_pip* will trigger :exc:`ValueError`."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:119
|
|
msgid ""
|
|
"*verbosity* controls the level of output to :data:`sys.stdout` from the "
|
|
"bootstrapping operation."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:123
|
|
msgid ""
|
|
"Raises an :ref:`auditing event <auditing>` ``ensurepip.bootstrap`` with "
|
|
"argument ``root``."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:126
|
|
msgid ""
|
|
"The bootstrapping process has side effects on both ``sys.path`` and ``os."
|
|
"environ``. Invoking the command line interface in a subprocess instead "
|
|
"allows these side effects to be avoided."
|
|
msgstr ""
|
|
|
|
#: library/ensurepip.rst:132
|
|
msgid ""
|
|
"The bootstrapping process may install additional modules required by "
|
|
"``pip``, but other software should not assume those dependencies will always "
|
|
"be present by default (as the dependencies may be removed in a future "
|
|
"version of ``pip``)."
|
|
msgstr ""
|