7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.10\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2020-06-20 18:08+0800 \n "
10
+ "POT-Creation-Date : 2021-12-18 00:09+0000 \n "
11
11
"PO-Revision-Date : 2018-05-23 14:09+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- "
@@ -97,6 +97,11 @@ msgstr "``bztar``"
97
97
msgid "bzip2'ed tar file (:file:`.tar.bz2`)"
98
98
msgstr ""
99
99
100
+ #: ../../distutils/sourcedist.rst:34 ../../distutils/sourcedist.rst:37
101
+ #: ../../distutils/sourcedist.rst:43
102
+ msgid "\\ (5)"
103
+ msgstr "\\ (5)"
104
+
100
105
#: ../../distutils/sourcedist.rst:37
101
106
msgid "``xztar``"
102
107
msgstr "``xztar``"
@@ -114,8 +119,8 @@ msgid "compressed tar file (:file:`.tar.Z`)"
114
119
msgstr ""
115
120
116
121
#: ../../distutils/sourcedist.rst:40
117
- msgid "\\ (4 )"
118
- msgstr "\\ (4 )"
122
+ msgid "(4),(5 )"
123
+ msgstr "(4),(5 )"
119
124
120
125
#: ../../distutils/sourcedist.rst:43
121
126
msgid "``tar``"
@@ -155,71 +160,77 @@ msgstr ""
155
160
156
161
#: ../../distutils/sourcedist.rst:65
157
162
msgid ""
163
+ "deprecated by `PEP 527 <https://www.python.org/dev/peps/pep-0527/>`_; `PyPI "
164
+ "<https://pypi.org>`_ only accepts ``.zip`` and ``.tar.gz`` files."
165
+ msgstr ""
166
+
167
+ #: ../../distutils/sourcedist.rst:68
168
+ msgid ""
158
169
"When using any ``tar`` format (``gztar``, ``bztar``, ``xztar``, ``ztar`` or "
159
170
"``tar``), under Unix you can specify the ``owner`` and ``group`` names that "
160
171
"will be set for each member of the archive."
161
172
msgstr ""
162
173
163
- #: ../../distutils/sourcedist.rst:69
174
+ #: ../../distutils/sourcedist.rst:72
164
175
msgid "For example, if you want all files of the archive to be owned by root::"
165
176
msgstr ""
166
177
167
- #: ../../distutils/sourcedist.rst:77
178
+ #: ../../distutils/sourcedist.rst:80
168
179
msgid "Specifying the files to distribute"
169
180
msgstr ""
170
181
171
- #: ../../distutils/sourcedist.rst:79
182
+ #: ../../distutils/sourcedist.rst:82
172
183
msgid ""
173
184
"If you don't supply an explicit list of files (or instructions on how to "
174
185
"generate one), the :command:`sdist` command puts a minimal default set into "
175
186
"the source distribution:"
176
187
msgstr ""
177
188
178
- #: ../../distutils/sourcedist.rst:83
189
+ #: ../../distutils/sourcedist.rst:86
179
190
msgid ""
180
191
"all Python source files implied by the ``py_modules`` and ``packages`` "
181
192
"options"
182
193
msgstr ""
183
194
184
- #: ../../distutils/sourcedist.rst:86
195
+ #: ../../distutils/sourcedist.rst:89
185
196
msgid ""
186
197
"all C source files mentioned in the ``ext_modules`` or ``libraries`` options"
187
198
msgstr ""
188
199
189
- #: ../../distutils/sourcedist.rst:92
200
+ #: ../../distutils/sourcedist.rst:95
190
201
msgid ""
191
202
"scripts identified by the ``scripts`` option See :ref:`distutils-installing-"
192
203
"scripts`."
193
204
msgstr ""
194
205
195
- #: ../../distutils/sourcedist.rst:95
206
+ #: ../../distutils/sourcedist.rst:98
196
207
msgid ""
197
208
"anything that looks like a test script: :file:`test/test\\ *.py` (currently, "
198
209
"the Distutils don't do anything with test scripts except include them in "
199
210
"source distributions, but in the future there will be a standard for testing "
200
211
"Python module distributions)"
201
212
msgstr ""
202
213
203
- #: ../../distutils/sourcedist.rst:100
214
+ #: ../../distutils/sourcedist.rst:103
204
215
msgid ""
205
216
"Any of the standard README files (:file:`README`, :file:`README.txt`, or :"
206
217
"file:`README.rst`), :file:`setup.py` (or whatever you called your setup "
207
218
"script), and :file:`setup.cfg`."
208
219
msgstr ""
209
220
210
- #: ../../distutils/sourcedist.rst:104
221
+ #: ../../distutils/sourcedist.rst:107
211
222
msgid ""
212
223
"all files that matches the ``package_data`` metadata. See :ref:`distutils-"
213
224
"installing-package-data`."
214
225
msgstr ""
215
226
216
- #: ../../distutils/sourcedist.rst:107
227
+ #: ../../distutils/sourcedist.rst:110
217
228
msgid ""
218
229
"all files that matches the ``data_files`` metadata. See :ref:`distutils-"
219
230
"additional-files`."
220
231
msgstr ""
221
232
222
- #: ../../distutils/sourcedist.rst:110
233
+ #: ../../distutils/sourcedist.rst:113
223
234
msgid ""
224
235
"Sometimes this is enough, but usually you will want to specify additional "
225
236
"files to distribute. The typical way to do this is to write a *manifest "
@@ -231,46 +242,46 @@ msgid ""
231
242
"filesystem."
232
243
msgstr ""
233
244
234
- #: ../../distutils/sourcedist.rst:118
245
+ #: ../../distutils/sourcedist.rst:121
235
246
msgid ""
236
247
"If you prefer to roll your own manifest file, the format is simple: one "
237
248
"filename per line, regular files (or symlinks to them) only. If you do "
238
249
"supply your own :file:`MANIFEST`, you must specify everything: the default "
239
250
"set of files described above does not apply in this case."
240
251
msgstr ""
241
252
242
- #: ../../distutils/sourcedist.rst:123
253
+ #: ../../distutils/sourcedist.rst:126
243
254
msgid ""
244
255
"An existing generated :file:`MANIFEST` will be regenerated without :command:"
245
256
"`sdist` comparing its modification time to the one of :file:`MANIFEST.in` "
246
257
"or :file:`setup.py`."
247
258
msgstr ""
248
259
249
- #: ../../distutils/sourcedist.rst:128
260
+ #: ../../distutils/sourcedist.rst:131
250
261
msgid ""
251
262
":file:`MANIFEST` files start with a comment indicating they are generated. "
252
263
"Files without this comment are not overwritten or removed."
253
264
msgstr ""
254
265
255
- #: ../../distutils/sourcedist.rst:132
266
+ #: ../../distutils/sourcedist.rst:135
256
267
msgid ""
257
268
":command:`sdist` will read a :file:`MANIFEST` file if no :file:`MANIFEST.in` "
258
269
"exists, like it used to do."
259
270
msgstr ""
260
271
261
- #: ../../distutils/sourcedist.rst:136
272
+ #: ../../distutils/sourcedist.rst:139
262
273
msgid ""
263
274
":file:`README.rst` is now included in the list of distutils standard READMEs."
264
275
msgstr ""
265
276
266
- #: ../../distutils/sourcedist.rst:140
277
+ #: ../../distutils/sourcedist.rst:143
267
278
msgid ""
268
279
"The manifest template has one command per line, where each command specifies "
269
280
"a set of files to include or exclude from the source distribution. For an "
270
281
"example, again we turn to the Distutils' own manifest template:"
271
282
msgstr ""
272
283
273
- #: ../../distutils/sourcedist.rst:150
284
+ #: ../../distutils/sourcedist.rst:153
274
285
msgid ""
275
286
"The meanings should be fairly clear: include all files in the distribution "
276
287
"root matching :file:`\\ *.txt`, all files anywhere under the :file:`examples` "
@@ -283,7 +294,7 @@ msgid ""
283
294
"language; see section :ref:`sdist-cmd`."
284
295
msgstr ""
285
296
286
- #: ../../distutils/sourcedist.rst:160
297
+ #: ../../distutils/sourcedist.rst:163
287
298
msgid ""
288
299
"The order of commands in the manifest template matters: initially, we have "
289
300
"the list of default files as described above, and each command in the "
@@ -292,137 +303,137 @@ msgid ""
292
303
"in the source distribution:"
293
304
msgstr ""
294
305
295
- #: ../../distutils/sourcedist.rst:166
306
+ #: ../../distutils/sourcedist.rst:169
296
307
msgid "all files in the Distutils \" build\" tree (default :file:`build/`)"
297
308
msgstr ""
298
309
299
- #: ../../distutils/sourcedist.rst:168
310
+ #: ../../distutils/sourcedist.rst:171
300
311
msgid ""
301
312
"all files in directories named :file:`RCS`, :file:`CVS`, :file:`.svn`, :file:"
302
313
"`.hg`, :file:`.git`, :file:`.bzr` or :file:`_darcs`"
303
314
msgstr ""
304
315
305
- #: ../../distutils/sourcedist.rst:171
316
+ #: ../../distutils/sourcedist.rst:174
306
317
msgid ""
307
318
"Now we have our complete list of files, which is written to the manifest for "
308
319
"future reference, and then used to build the source distribution archive(s)."
309
320
msgstr ""
310
321
311
- #: ../../distutils/sourcedist.rst:174
322
+ #: ../../distutils/sourcedist.rst:177
312
323
msgid ""
313
324
"You can disable the default set of included files with the :option:`!--no-"
314
325
"defaults` option, and you can disable the standard exclude set with :option:"
315
326
"`!--no-prune`."
316
327
msgstr ""
317
328
318
- #: ../../distutils/sourcedist.rst:178
329
+ #: ../../distutils/sourcedist.rst:181
319
330
msgid ""
320
331
"Following the Distutils' own manifest template, let's trace how the :command:"
321
332
"`sdist` command builds the list of files to include in the Distutils source "
322
333
"distribution:"
323
334
msgstr ""
324
335
325
- #: ../../distutils/sourcedist.rst:182
336
+ #: ../../distutils/sourcedist.rst:185
326
337
msgid ""
327
338
"include all Python source files in the :file:`distutils` and :file:"
328
339
"`distutils/command` subdirectories (because packages corresponding to those "
329
340
"two directories were mentioned in the ``packages`` option in the setup "
330
341
"script---see section :ref:`setup-script`)"
331
342
msgstr ""
332
343
333
- #: ../../distutils/sourcedist.rst:187
344
+ #: ../../distutils/sourcedist.rst:190
334
345
msgid ""
335
346
"include :file:`README.txt`, :file:`setup.py`, and :file:`setup.cfg` "
336
347
"(standard files)"
337
348
msgstr ""
338
349
339
- #: ../../distutils/sourcedist.rst:190
350
+ #: ../../distutils/sourcedist.rst:193
340
351
msgid "include :file:`test/test\\ *.py` (standard files)"
341
352
msgstr ""
342
353
343
- #: ../../distutils/sourcedist.rst:192
354
+ #: ../../distutils/sourcedist.rst:195
344
355
msgid ""
345
356
"include :file:`\\ *.txt` in the distribution root (this will find :file:"
346
357
"`README.txt` a second time, but such redundancies are weeded out later)"
347
358
msgstr ""
348
359
349
- #: ../../distutils/sourcedist.rst:195
360
+ #: ../../distutils/sourcedist.rst:198
350
361
msgid ""
351
362
"include anything matching :file:`\\ *.txt` or :file:`\\ *.py` in the sub-tree "
352
363
"under :file:`examples`,"
353
364
msgstr ""
354
365
355
- #: ../../distutils/sourcedist.rst:198
366
+ #: ../../distutils/sourcedist.rst:201
356
367
msgid ""
357
368
"exclude all files in the sub-trees starting at directories matching :file:"
358
369
"`examples/sample?/build`\\ ---this may exclude files included by the "
359
370
"previous two steps, so it's important that the ``prune`` command in the "
360
371
"manifest template comes after the ``recursive-include`` command"
361
372
msgstr ""
362
373
363
- #: ../../distutils/sourcedist.rst:203
374
+ #: ../../distutils/sourcedist.rst:206
364
375
msgid ""
365
376
"exclude the entire :file:`build` tree, and any :file:`RCS`, :file:`CVS`, :"
366
377
"file:`.svn`, :file:`.hg`, :file:`.git`, :file:`.bzr` and :file:`_darcs` "
367
378
"directories"
368
379
msgstr ""
369
380
370
- #: ../../distutils/sourcedist.rst:207
381
+ #: ../../distutils/sourcedist.rst:210
371
382
msgid ""
372
383
"Just like in the setup script, file and directory names in the manifest "
373
384
"template should always be slash-separated; the Distutils will take care of "
374
385
"converting them to the standard representation on your platform. That way, "
375
386
"the manifest template is portable across operating systems."
376
387
msgstr ""
377
388
378
- #: ../../distutils/sourcedist.rst:216
389
+ #: ../../distutils/sourcedist.rst:219
379
390
msgid "Manifest-related options"
380
391
msgstr ""
381
392
382
- #: ../../distutils/sourcedist.rst:218
393
+ #: ../../distutils/sourcedist.rst:221
383
394
msgid ""
384
395
"The normal course of operations for the :command:`sdist` command is as "
385
396
"follows:"
386
397
msgstr ""
387
398
388
- #: ../../distutils/sourcedist.rst:220
399
+ #: ../../distutils/sourcedist.rst:223
389
400
msgid ""
390
401
"if the manifest file (:file:`MANIFEST` by default) exists and the first line "
391
402
"does not have a comment indicating it is generated from :file:`MANIFEST.in`, "
392
403
"then it is used as is, unaltered"
393
404
msgstr ""
394
405
395
- #: ../../distutils/sourcedist.rst:224
406
+ #: ../../distutils/sourcedist.rst:227
396
407
msgid ""
397
408
"if the manifest file doesn't exist or has been previously automatically "
398
409
"generated, read :file:`MANIFEST.in` and create the manifest"
399
410
msgstr ""
400
411
401
- #: ../../distutils/sourcedist.rst:227
412
+ #: ../../distutils/sourcedist.rst:230
402
413
msgid ""
403
414
"if neither :file:`MANIFEST` nor :file:`MANIFEST.in` exist, create a manifest "
404
415
"with just the default file set"
405
416
msgstr ""
406
417
407
- #: ../../distutils/sourcedist.rst:230
418
+ #: ../../distutils/sourcedist.rst:233
408
419
msgid ""
409
420
"use the list of files now in :file:`MANIFEST` (either just generated or read "
410
421
"in) to create the source distribution archive(s)"
411
422
msgstr ""
412
423
413
- #: ../../distutils/sourcedist.rst:233
424
+ #: ../../distutils/sourcedist.rst:236
414
425
msgid ""
415
426
"There are a couple of options that modify this behaviour. First, use the :"
416
427
"option:`!--no-defaults` and :option:`!--no-prune` to disable the standard "
417
428
"\" include\" and \" exclude\" sets."
418
429
msgstr ""
419
430
420
- #: ../../distutils/sourcedist.rst:237
431
+ #: ../../distutils/sourcedist.rst:240
421
432
msgid ""
422
433
"Second, you might just want to (re)generate the manifest, but not create a "
423
434
"source distribution::"
424
435
msgstr ""
425
436
426
- #: ../../distutils/sourcedist.rst:242
437
+ #: ../../distutils/sourcedist.rst:245
427
438
msgid ":option:`!-o` is a shortcut for :option:`!--manifest-only`."
428
439
msgstr ""
0 commit comments