7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.11\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2022-10-31 08:13 +0000\n "
10
+ "POT-Creation-Date : 2022-11-26 00:17 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 16:01+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -22,7 +22,11 @@ msgstr ""
22
22
msgid ":mod:`ensurepip` --- Bootstrapping the ``pip`` installer"
23
23
msgstr ""
24
24
25
- #: ../../library/ensurepip.rst:12
25
+ #: ../../library/ensurepip.rst:10
26
+ msgid "**Source code:** :source:`Lib/ensurepip`"
27
+ msgstr ""
28
+
29
+ #: ../../library/ensurepip.rst:14
26
30
msgid ""
27
31
"The :mod:`ensurepip` package provides support for bootstrapping the ``pip`` "
28
32
"installer into an existing Python installation or virtual environment. This "
@@ -32,33 +36,33 @@ msgid ""
32
36
"interpreter."
33
37
msgstr ""
34
38
35
- #: ../../library/ensurepip.rst:19
39
+ #: ../../library/ensurepip.rst:21
36
40
msgid ""
37
41
"In most cases, end users of Python shouldn't need to invoke this module "
38
42
"directly (as ``pip`` should be bootstrapped by default), but it may be "
39
43
"needed if installing ``pip`` was skipped when installing Python (or when "
40
44
"creating a virtual environment) or after explicitly uninstalling ``pip``."
41
45
msgstr ""
42
46
43
- #: ../../library/ensurepip.rst:27
47
+ #: ../../library/ensurepip.rst:29
44
48
msgid ""
45
49
"This module *does not* access the internet. All of the components needed to "
46
50
"bootstrap ``pip`` are included as internal parts of the package."
47
51
msgstr ""
48
52
49
- #: ../../library/ensurepip.rst:34
53
+ #: ../../library/ensurepip.rst:36
50
54
msgid ":ref:`installing-index`"
51
55
msgstr ":ref:`installing-index`"
52
56
53
- #: ../../library/ensurepip.rst:34
57
+ #: ../../library/ensurepip.rst:36
54
58
msgid "The end user guide for installing Python packages"
55
59
msgstr ""
56
60
57
- #: ../../library/ensurepip.rst:36
61
+ #: ../../library/ensurepip.rst:38
58
62
msgid ":pep:`453`: Explicit bootstrapping of pip in Python installations"
59
63
msgstr ""
60
64
61
- #: ../../library/ensurepip.rst:37
65
+ #: ../../library/ensurepip.rst:39
62
66
msgid "The original rationale and specification for this module."
63
67
msgstr ""
64
68
@@ -73,132 +77,132 @@ msgid ""
73
77
"more information."
74
78
msgstr ""
75
79
76
- #: ../../library/ensurepip.rst:42
80
+ #: ../../library/ensurepip.rst:44
77
81
msgid "Command line interface"
78
82
msgstr ""
79
83
80
- #: ../../library/ensurepip.rst:44
84
+ #: ../../library/ensurepip.rst:46
81
85
msgid ""
82
86
"The command line interface is invoked using the interpreter's ``-m`` switch."
83
87
msgstr ""
84
88
85
- #: ../../library/ensurepip.rst:46
89
+ #: ../../library/ensurepip.rst:48
86
90
msgid "The simplest possible invocation is::"
87
91
msgstr ""
88
92
89
- #: ../../library/ensurepip.rst:50
93
+ #: ../../library/ensurepip.rst:52
90
94
msgid ""
91
95
"This invocation will install ``pip`` if it is not already installed, but "
92
96
"otherwise does nothing. To ensure the installed version of ``pip`` is at "
93
97
"least as recent as the one available in ``ensurepip``, pass the ``--"
94
98
"upgrade`` option::"
95
99
msgstr ""
96
100
97
- #: ../../library/ensurepip.rst:57
101
+ #: ../../library/ensurepip.rst:59
98
102
msgid ""
99
103
"By default, ``pip`` is installed into the current virtual environment (if "
100
104
"one is active) or into the system site packages (if there is no active "
101
105
"virtual environment). The installation location can be controlled through "
102
106
"two additional command line options:"
103
107
msgstr ""
104
108
105
- #: ../../library/ensurepip.rst:62
109
+ #: ../../library/ensurepip.rst:64
106
110
msgid ""
107
111
"``--root <dir>``: Installs ``pip`` relative to the given root directory "
108
112
"rather than the root of the currently active virtual environment (if any) or "
109
113
"the default root for the current Python installation."
110
114
msgstr ""
111
115
112
- #: ../../library/ensurepip.rst:65
116
+ #: ../../library/ensurepip.rst:67
113
117
msgid ""
114
118
"``--user``: Installs ``pip`` into the user site packages directory rather "
115
119
"than globally for the current Python installation (this option is not "
116
120
"permitted inside an active virtual environment)."
117
121
msgstr ""
118
122
119
- #: ../../library/ensurepip.rst:69
123
+ #: ../../library/ensurepip.rst:71
120
124
msgid ""
121
125
"By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y "
122
126
"stands for the version of Python used to invoke ``ensurepip``). The scripts "
123
127
"installed can be controlled through two additional command line options:"
124
128
msgstr ""
125
129
126
- #: ../../library/ensurepip.rst:74
130
+ #: ../../library/ensurepip.rst:76
127
131
msgid ""
128
132
"``--altinstall``: if an alternate installation is requested, the ``pipX`` "
129
133
"script will *not* be installed."
130
134
msgstr ""
131
135
132
- #: ../../library/ensurepip.rst:77
136
+ #: ../../library/ensurepip.rst:79
133
137
msgid ""
134
138
"``--default-pip``: if a \" default pip\" installation is requested, the "
135
139
"``pip`` script will be installed in addition to the two regular scripts."
136
140
msgstr ""
137
141
138
- #: ../../library/ensurepip.rst:80
142
+ #: ../../library/ensurepip.rst:82
139
143
msgid ""
140
144
"Providing both of the script selection options will trigger an exception."
141
145
msgstr ""
142
146
143
- #: ../../library/ensurepip.rst:84
147
+ #: ../../library/ensurepip.rst:86
144
148
msgid "Module API"
145
149
msgstr "模組 API"
146
150
147
- #: ../../library/ensurepip.rst:86
151
+ #: ../../library/ensurepip.rst:88
148
152
msgid ":mod:`ensurepip` exposes two functions for programmatic use:"
149
153
msgstr ""
150
154
151
- #: ../../library/ensurepip.rst:90
155
+ #: ../../library/ensurepip.rst:92
152
156
msgid ""
153
157
"Returns a string specifying the available version of pip that will be "
154
158
"installed when bootstrapping an environment."
155
159
msgstr ""
156
160
157
- #: ../../library/ensurepip.rst:97
161
+ #: ../../library/ensurepip.rst:99
158
162
msgid "Bootstraps ``pip`` into the current or designated environment."
159
163
msgstr ""
160
164
161
- #: ../../library/ensurepip.rst:99
165
+ #: ../../library/ensurepip.rst:101
162
166
msgid ""
163
167
"*root* specifies an alternative root directory to install relative to. If "
164
168
"*root* is ``None``, then installation uses the default install location for "
165
169
"the current environment."
166
170
msgstr ""
167
171
168
- #: ../../library/ensurepip.rst:103
172
+ #: ../../library/ensurepip.rst:105
169
173
msgid ""
170
174
"*upgrade* indicates whether or not to upgrade an existing installation of an "
171
175
"earlier version of ``pip`` to the available version."
172
176
msgstr ""
173
177
174
- #: ../../library/ensurepip.rst:106
178
+ #: ../../library/ensurepip.rst:108
175
179
msgid ""
176
180
"*user* indicates whether to use the user scheme rather than installing "
177
181
"globally."
178
182
msgstr ""
179
183
180
- #: ../../library/ensurepip.rst:109
184
+ #: ../../library/ensurepip.rst:111
181
185
msgid ""
182
186
"By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y "
183
187
"stands for the current version of Python)."
184
188
msgstr ""
185
189
186
- #: ../../library/ensurepip.rst:112
190
+ #: ../../library/ensurepip.rst:114
187
191
msgid "If *altinstall* is set, then ``pipX`` will *not* be installed."
188
192
msgstr ""
189
193
190
- #: ../../library/ensurepip.rst:114
194
+ #: ../../library/ensurepip.rst:116
191
195
msgid ""
192
196
"If *default_pip* is set, then ``pip`` will be installed in addition to the "
193
197
"two regular scripts."
194
198
msgstr ""
195
199
196
- #: ../../library/ensurepip.rst:117
200
+ #: ../../library/ensurepip.rst:119
197
201
msgid ""
198
202
"Setting both *altinstall* and *default_pip* will trigger :exc:`ValueError`."
199
203
msgstr ""
200
204
201
- #: ../../library/ensurepip.rst:120
205
+ #: ../../library/ensurepip.rst:122
202
206
msgid ""
203
207
"*verbosity* controls the level of output to :data:`sys.stdout` from the "
204
208
"bootstrapping operation."
@@ -210,14 +214,14 @@ msgid ""
210
214
"argument ``root``."
211
215
msgstr ""
212
216
213
- #: ../../library/ensurepip.rst:127
217
+ #: ../../library/ensurepip.rst:129
214
218
msgid ""
215
219
"The bootstrapping process has side effects on both ``sys.path`` and ``os."
216
220
"environ``. Invoking the command line interface in a subprocess instead "
217
221
"allows these side effects to be avoided."
218
222
msgstr ""
219
223
220
- #: ../../library/ensurepip.rst:133
224
+ #: ../../library/ensurepip.rst:135
221
225
msgid ""
222
226
"The bootstrapping process may install additional modules required by "
223
227
"``pip``, but other software should not assume those dependencies will always "
0 commit comments