Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf9eeba

Browse files
Sync with CPython 3.10 (#182)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent4c7262c commitbf9eeba

File tree

6 files changed

+690
-674
lines changed

6 files changed

+690
-674
lines changed

‎distutils/sourcedist.po

Lines changed: 55 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.10\n"
99
"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"
1111
"PO-Revision-Date:2018-05-23 14:09+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -97,6 +97,11 @@ msgstr "``bztar``"
9797
msgid"bzip2'ed tar file (:file:`.tar.bz2`)"
9898
msgstr""
9999

100+
#:../../distutils/sourcedist.rst:34../../distutils/sourcedist.rst:37
101+
#:../../distutils/sourcedist.rst:43
102+
msgid"\\(5)"
103+
msgstr"\\(5)"
104+
100105
#:../../distutils/sourcedist.rst:37
101106
msgid"``xztar``"
102107
msgstr"``xztar``"
@@ -114,8 +119,8 @@ msgid "compressed tar file (:file:`.tar.Z`)"
114119
msgstr""
115120

116121
#:../../distutils/sourcedist.rst:40
117-
msgid"\\(4)"
118-
msgstr"\\(4)"
122+
msgid"(4),(5)"
123+
msgstr"(4),(5)"
119124

120125
#:../../distutils/sourcedist.rst:43
121126
msgid"``tar``"
@@ -155,71 +160,77 @@ msgstr ""
155160

156161
#:../../distutils/sourcedist.rst:65
157162
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""
158169
"When using any ``tar`` format (``gztar``, ``bztar``, ``xztar``, ``ztar`` or "
159170
"``tar``), under Unix you can specify the ``owner`` and ``group`` names that "
160171
"will be set for each member of the archive."
161172
msgstr""
162173

163-
#:../../distutils/sourcedist.rst:69
174+
#:../../distutils/sourcedist.rst:72
164175
msgid"For example, if you want all files of the archive to be owned by root::"
165176
msgstr""
166177

167-
#:../../distutils/sourcedist.rst:77
178+
#:../../distutils/sourcedist.rst:80
168179
msgid"Specifying the files to distribute"
169180
msgstr""
170181

171-
#:../../distutils/sourcedist.rst:79
182+
#:../../distutils/sourcedist.rst:82
172183
msgid""
173184
"If you don't supply an explicit list of files (or instructions on how to "
174185
"generate one), the :command:`sdist` command puts a minimal default set into "
175186
"the source distribution:"
176187
msgstr""
177188

178-
#:../../distutils/sourcedist.rst:83
189+
#:../../distutils/sourcedist.rst:86
179190
msgid""
180191
"all Python source files implied by the ``py_modules`` and ``packages`` "
181192
"options"
182193
msgstr""
183194

184-
#:../../distutils/sourcedist.rst:86
195+
#:../../distutils/sourcedist.rst:89
185196
msgid""
186197
"all C source files mentioned in the ``ext_modules`` or ``libraries`` options"
187198
msgstr""
188199

189-
#:../../distutils/sourcedist.rst:92
200+
#:../../distutils/sourcedist.rst:95
190201
msgid""
191202
"scripts identified by the ``scripts`` option See :ref:`distutils-installing-"
192203
"scripts`."
193204
msgstr""
194205

195-
#:../../distutils/sourcedist.rst:95
206+
#:../../distutils/sourcedist.rst:98
196207
msgid""
197208
"anything that looks like a test script: :file:`test/test\\*.py` (currently, "
198209
"the Distutils don't do anything with test scripts except include them in "
199210
"source distributions, but in the future there will be a standard for testing "
200211
"Python module distributions)"
201212
msgstr""
202213

203-
#:../../distutils/sourcedist.rst:100
214+
#:../../distutils/sourcedist.rst:103
204215
msgid""
205216
"Any of the standard README files (:file:`README`, :file:`README.txt`, or :"
206217
"file:`README.rst`), :file:`setup.py` (or whatever you called your setup "
207218
"script), and :file:`setup.cfg`."
208219
msgstr""
209220

210-
#:../../distutils/sourcedist.rst:104
221+
#:../../distutils/sourcedist.rst:107
211222
msgid""
212223
"all files that matches the ``package_data`` metadata. See :ref:`distutils-"
213224
"installing-package-data`."
214225
msgstr""
215226

216-
#:../../distutils/sourcedist.rst:107
227+
#:../../distutils/sourcedist.rst:110
217228
msgid""
218229
"all files that matches the ``data_files`` metadata. See :ref:`distutils-"
219230
"additional-files`."
220231
msgstr""
221232

222-
#:../../distutils/sourcedist.rst:110
233+
#:../../distutils/sourcedist.rst:113
223234
msgid""
224235
"Sometimes this is enough, but usually you will want to specify additional "
225236
"files to distribute. The typical way to do this is to write a *manifest "
@@ -231,46 +242,46 @@ msgid ""
231242
"filesystem."
232243
msgstr""
233244

234-
#:../../distutils/sourcedist.rst:118
245+
#:../../distutils/sourcedist.rst:121
235246
msgid""
236247
"If you prefer to roll your own manifest file, the format is simple: one "
237248
"filename per line, regular files (or symlinks to them) only. If you do "
238249
"supply your own :file:`MANIFEST`, you must specify everything: the default "
239250
"set of files described above does not apply in this case."
240251
msgstr""
241252

242-
#:../../distutils/sourcedist.rst:123
253+
#:../../distutils/sourcedist.rst:126
243254
msgid""
244255
"An existing generated :file:`MANIFEST` will be regenerated without :command:"
245256
"`sdist` comparing its modification time to the one of :file:`MANIFEST.in` "
246257
"or :file:`setup.py`."
247258
msgstr""
248259

249-
#:../../distutils/sourcedist.rst:128
260+
#:../../distutils/sourcedist.rst:131
250261
msgid""
251262
":file:`MANIFEST` files start with a comment indicating they are generated. "
252263
"Files without this comment are not overwritten or removed."
253264
msgstr""
254265

255-
#:../../distutils/sourcedist.rst:132
266+
#:../../distutils/sourcedist.rst:135
256267
msgid""
257268
":command:`sdist` will read a :file:`MANIFEST` file if no :file:`MANIFEST.in` "
258269
"exists, like it used to do."
259270
msgstr""
260271

261-
#:../../distutils/sourcedist.rst:136
272+
#:../../distutils/sourcedist.rst:139
262273
msgid""
263274
":file:`README.rst` is now included in the list of distutils standard READMEs."
264275
msgstr""
265276

266-
#:../../distutils/sourcedist.rst:140
277+
#:../../distutils/sourcedist.rst:143
267278
msgid""
268279
"The manifest template has one command per line, where each command specifies "
269280
"a set of files to include or exclude from the source distribution. For an "
270281
"example, again we turn to the Distutils' own manifest template:"
271282
msgstr""
272283

273-
#:../../distutils/sourcedist.rst:150
284+
#:../../distutils/sourcedist.rst:153
274285
msgid""
275286
"The meanings should be fairly clear: include all files in the distribution "
276287
"root matching :file:`\\*.txt`, all files anywhere under the :file:`examples` "
@@ -283,7 +294,7 @@ msgid ""
283294
"language; see section :ref:`sdist-cmd`."
284295
msgstr""
285296

286-
#:../../distutils/sourcedist.rst:160
297+
#:../../distutils/sourcedist.rst:163
287298
msgid""
288299
"The order of commands in the manifest template matters: initially, we have "
289300
"the list of default files as described above, and each command in the "
@@ -292,137 +303,137 @@ msgid ""
292303
"in the source distribution:"
293304
msgstr""
294305

295-
#:../../distutils/sourcedist.rst:166
306+
#:../../distutils/sourcedist.rst:169
296307
msgid"all files in the Distutils\"build\" tree (default :file:`build/`)"
297308
msgstr""
298309

299-
#:../../distutils/sourcedist.rst:168
310+
#:../../distutils/sourcedist.rst:171
300311
msgid""
301312
"all files in directories named :file:`RCS`, :file:`CVS`, :file:`.svn`, :file:"
302313
"`.hg`, :file:`.git`, :file:`.bzr` or :file:`_darcs`"
303314
msgstr""
304315

305-
#:../../distutils/sourcedist.rst:171
316+
#:../../distutils/sourcedist.rst:174
306317
msgid""
307318
"Now we have our complete list of files, which is written to the manifest for "
308319
"future reference, and then used to build the source distribution archive(s)."
309320
msgstr""
310321

311-
#:../../distutils/sourcedist.rst:174
322+
#:../../distutils/sourcedist.rst:177
312323
msgid""
313324
"You can disable the default set of included files with the :option:`!--no-"
314325
"defaults` option, and you can disable the standard exclude set with :option:"
315326
"`!--no-prune`."
316327
msgstr""
317328

318-
#:../../distutils/sourcedist.rst:178
329+
#:../../distutils/sourcedist.rst:181
319330
msgid""
320331
"Following the Distutils' own manifest template, let's trace how the :command:"
321332
"`sdist` command builds the list of files to include in the Distutils source "
322333
"distribution:"
323334
msgstr""
324335

325-
#:../../distutils/sourcedist.rst:182
336+
#:../../distutils/sourcedist.rst:185
326337
msgid""
327338
"include all Python source files in the :file:`distutils` and :file:"
328339
"`distutils/command` subdirectories (because packages corresponding to those "
329340
"two directories were mentioned in the ``packages`` option in the setup "
330341
"script---see section :ref:`setup-script`)"
331342
msgstr""
332343

333-
#:../../distutils/sourcedist.rst:187
344+
#:../../distutils/sourcedist.rst:190
334345
msgid""
335346
"include :file:`README.txt`, :file:`setup.py`, and :file:`setup.cfg` "
336347
"(standard files)"
337348
msgstr""
338349

339-
#:../../distutils/sourcedist.rst:190
350+
#:../../distutils/sourcedist.rst:193
340351
msgid"include :file:`test/test\\*.py` (standard files)"
341352
msgstr""
342353

343-
#:../../distutils/sourcedist.rst:192
354+
#:../../distutils/sourcedist.rst:195
344355
msgid""
345356
"include :file:`\\*.txt` in the distribution root (this will find :file:"
346357
"`README.txt` a second time, but such redundancies are weeded out later)"
347358
msgstr""
348359

349-
#:../../distutils/sourcedist.rst:195
360+
#:../../distutils/sourcedist.rst:198
350361
msgid""
351362
"include anything matching :file:`\\*.txt` or :file:`\\*.py` in the sub-tree "
352363
"under :file:`examples`,"
353364
msgstr""
354365

355-
#:../../distutils/sourcedist.rst:198
366+
#:../../distutils/sourcedist.rst:201
356367
msgid""
357368
"exclude all files in the sub-trees starting at directories matching :file:"
358369
"`examples/sample?/build`\\ ---this may exclude files included by the "
359370
"previous two steps, so it's important that the ``prune`` command in the "
360371
"manifest template comes after the ``recursive-include`` command"
361372
msgstr""
362373

363-
#:../../distutils/sourcedist.rst:203
374+
#:../../distutils/sourcedist.rst:206
364375
msgid""
365376
"exclude the entire :file:`build` tree, and any :file:`RCS`, :file:`CVS`, :"
366377
"file:`.svn`, :file:`.hg`, :file:`.git`, :file:`.bzr` and :file:`_darcs` "
367378
"directories"
368379
msgstr""
369380

370-
#:../../distutils/sourcedist.rst:207
381+
#:../../distutils/sourcedist.rst:210
371382
msgid""
372383
"Just like in the setup script, file and directory names in the manifest "
373384
"template should always be slash-separated; the Distutils will take care of "
374385
"converting them to the standard representation on your platform. That way, "
375386
"the manifest template is portable across operating systems."
376387
msgstr""
377388

378-
#:../../distutils/sourcedist.rst:216
389+
#:../../distutils/sourcedist.rst:219
379390
msgid"Manifest-related options"
380391
msgstr""
381392

382-
#:../../distutils/sourcedist.rst:218
393+
#:../../distutils/sourcedist.rst:221
383394
msgid""
384395
"The normal course of operations for the :command:`sdist` command is as "
385396
"follows:"
386397
msgstr""
387398

388-
#:../../distutils/sourcedist.rst:220
399+
#:../../distutils/sourcedist.rst:223
389400
msgid""
390401
"if the manifest file (:file:`MANIFEST` by default) exists and the first line "
391402
"does not have a comment indicating it is generated from :file:`MANIFEST.in`, "
392403
"then it is used as is, unaltered"
393404
msgstr""
394405

395-
#:../../distutils/sourcedist.rst:224
406+
#:../../distutils/sourcedist.rst:227
396407
msgid""
397408
"if the manifest file doesn't exist or has been previously automatically "
398409
"generated, read :file:`MANIFEST.in` and create the manifest"
399410
msgstr""
400411

401-
#:../../distutils/sourcedist.rst:227
412+
#:../../distutils/sourcedist.rst:230
402413
msgid""
403414
"if neither :file:`MANIFEST` nor :file:`MANIFEST.in` exist, create a manifest "
404415
"with just the default file set"
405416
msgstr""
406417

407-
#:../../distutils/sourcedist.rst:230
418+
#:../../distutils/sourcedist.rst:233
408419
msgid""
409420
"use the list of files now in :file:`MANIFEST` (either just generated or read "
410421
"in) to create the source distribution archive(s)"
411422
msgstr""
412423

413-
#:../../distutils/sourcedist.rst:233
424+
#:../../distutils/sourcedist.rst:236
414425
msgid""
415426
"There are a couple of options that modify this behaviour. First, use the :"
416427
"option:`!--no-defaults` and :option:`!--no-prune` to disable the standard "
417428
"\"include\" and\"exclude\" sets."
418429
msgstr""
419430

420-
#:../../distutils/sourcedist.rst:237
431+
#:../../distutils/sourcedist.rst:240
421432
msgid""
422433
"Second, you might just want to (re)generate the manifest, but not create a "
423434
"source distribution::"
424435
msgstr""
425436

426-
#:../../distutils/sourcedist.rst:242
437+
#:../../distutils/sourcedist.rst:245
427438
msgid":option:`!-o` is a shortcut for :option:`!--manifest-only`."
428439
msgstr""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp