forked from AFPy/python-docs-fr
212 lines
6.6 KiB
Plaintext
212 lines
6.6 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 1990-2016, Python Software Foundation
|
|
# This file is distributed under the same license as the Python package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Python 2.7\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2016-10-30 10:44+0100\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../Doc/library/ensurepip.rst:2
|
|
msgid ":mod:`ensurepip` --- Bootstrapping the ``pip`` installer"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:10
|
|
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 ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:17
|
|
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 ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:24
|
|
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 ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:31
|
|
msgid ":ref:`installing-index`"
|
|
msgstr ":ref:`installing-index`"
|
|
|
|
#: ../Doc/library/ensurepip.rst:31
|
|
msgid "The end user guide for installing Python packages"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:34
|
|
msgid ":pep:`453`: Explicit bootstrapping of pip in Python installations"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:34
|
|
msgid "The original rationale and specification for this module."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:36
|
|
msgid ":pep:`477`: Backport ensurepip (PEP 453) to Python 2.7"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:37
|
|
msgid "The rationale and specification for backporting PEP 453 to Python 2.7."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:41
|
|
msgid "Command line interface"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:43
|
|
msgid ""
|
|
"The command line interface is invoked using the interpreter's ``-m`` switch."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:45
|
|
msgid "The simplest possible invocation is::"
|
|
msgstr ""
|
|
|
|
#: ../Doc/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 ""
|
|
|
|
#: ../Doc/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 ""
|
|
|
|
#: ../Doc/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 ""
|
|
|
|
#: ../Doc/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 ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:68
|
|
msgid ""
|
|
"By default, the scripts ``pip``, ``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 ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:73
|
|
msgid ""
|
|
"``--altinstall``: if an alternate installation is requested, the ``pip`` and "
|
|
"``pipX`` script will *not* be installed."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:76
|
|
msgid ""
|
|
"``--no-default-pip``: if a non-default installation is request, the ``pip`` "
|
|
"script will *not* be installed."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:81
|
|
msgid "Module API"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:83
|
|
msgid ":mod:`ensurepip` exposes two functions for programmatic use:"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:87
|
|
msgid ""
|
|
"Returns a string specifying the bundled version of pip that will be "
|
|
"installed when bootstrapping an environment."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:94
|
|
msgid "Bootstraps ``pip`` into the current or designated environment."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:96
|
|
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 ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:100
|
|
msgid ""
|
|
"*upgrade* indicates whether or not to upgrade an existing installation of an "
|
|
"earlier version of ``pip`` to the bundled version."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:103
|
|
msgid ""
|
|
"*user* indicates whether to use the user scheme rather than installing "
|
|
"globally."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:106
|
|
msgid ""
|
|
"By default, the scripts ``pip``, ``pipX``, and ``pipX.Y`` will be installed "
|
|
"(where X.Y stands for the current version of Python)."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:109
|
|
msgid ""
|
|
"If *altinstall* is set, then ``pip`` and ``pipX`` will *not* be installed."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:111
|
|
msgid ""
|
|
"If *default_pip* is set to ``False``, then ``pip`` will *not* be installed."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:113
|
|
msgid ""
|
|
"Setting both *altinstall* and *default_pip* will trigger :exc:`ValueError`."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:116
|
|
msgid ""
|
|
"*verbosity* controls the level of output to :data:`sys.stdout` from the "
|
|
"bootstrapping operation."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:121
|
|
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 ""
|
|
|
|
#: ../Doc/library/ensurepip.rst:127
|
|
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 ""
|