|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python Packaging User Guide \n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2025-02-17 16:07+0000\n" |
| 11 | +"POT-Creation-Date: 2025-02-19 23:28+0000\n" |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -6245,169 +6245,169 @@ msgstr "" |
6245 | 6245 | msgid "You can also specify the format explicitly, like this:" |
6246 | 6246 | msgstr "" |
6247 | 6247 |
|
6248 | | -#: ../source/guides/writing-pyproject-toml.rst:326 |
| 6248 | +#: ../source/guides/writing-pyproject-toml.rst:328 |
6249 | 6249 | #: ../source/specifications/pyproject-toml.rst:140 |
6250 | 6250 | #: ../source/specifications/pyproject-toml.rst:238 |
6251 | 6251 | msgid "``license``" |
6252 | 6252 | msgstr "" |
6253 | 6253 |
|
6254 | | -#: ../source/guides/writing-pyproject-toml.rst:328 |
| 6254 | +#: ../source/guides/writing-pyproject-toml.rst:330 |
6255 | 6255 | msgid ":pep:`639` (accepted in August 2024) has changed the way the ``license`` field is declared. Make sure your preferred build backend supports :pep:`639` before trying to apply the newer guidelines. As of February 2025, :doc:`setuptools <setuptools:userguide/pyproject_config>` and :ref:`flit <flit:pyproject_toml_project>` don't support :pep:`639` yet." |
6256 | 6256 | msgstr "" |
6257 | 6257 |
|
6258 | | -#: ../source/guides/writing-pyproject-toml.rst:335 |
| 6258 | +#: ../source/guides/writing-pyproject-toml.rst:337 |
6259 | 6259 | msgid ":pep:`639` license declaration" |
6260 | 6260 | msgstr "" |
6261 | 6261 |
|
6262 | | -#: ../source/guides/writing-pyproject-toml.rst:337 |
| 6262 | +#: ../source/guides/writing-pyproject-toml.rst:339 |
6263 | 6263 | msgid "This is a valid :term:`SPDX license expression <License Expression>` consisting of one or more :term:`license identifiers <License Identifier>`. The full license list is available at the `SPDX license list page <spdxlicenselist_>`_. The supported list version is 3.17 or any later compatible one." |
6264 | 6264 | msgstr "" |
6265 | 6265 |
|
6266 | | -#: ../source/guides/writing-pyproject-toml.rst:350 |
| 6266 | +#: ../source/guides/writing-pyproject-toml.rst:352 |
6267 | 6267 | msgid "As a general rule, it is a good idea to use a standard, well-known license, both to avoid confusion and because some organizations avoid software whose license is unapproved." |
6268 | 6268 | msgstr "" |
6269 | 6269 |
|
6270 | | -#: ../source/guides/writing-pyproject-toml.rst:354 |
| 6270 | +#: ../source/guides/writing-pyproject-toml.rst:356 |
6271 | 6271 | msgid "If your project is licensed with a license that doesn't have an existing SPDX identifier, you can create a custom one in format ``LicenseRef-[idstring]``. The custom identifiers must follow the SPDX specification, `clause 10.1 <spdxcustomids_>`_ of the version 2.2 or any later compatible one." |
6272 | 6272 | msgstr "" |
6273 | 6273 |
|
6274 | | -#: ../source/guides/writing-pyproject-toml.rst:365 |
| 6274 | +#: ../source/guides/writing-pyproject-toml.rst:367 |
6275 | 6275 | msgid "Legacy license declaration" |
6276 | 6276 | msgstr "" |
6277 | 6277 |
|
6278 | | -#: ../source/guides/writing-pyproject-toml.rst:367 |
| 6278 | +#: ../source/guides/writing-pyproject-toml.rst:369 |
6279 | 6279 | msgid "This can take two forms. You can put your license in a file, typically :file:`LICENSE` or :file:`LICENSE.txt`, and link that file here:" |
6280 | 6280 | msgstr "" |
6281 | 6281 |
|
6282 | | -#: ../source/guides/writing-pyproject-toml.rst:375 |
| 6282 | +#: ../source/guides/writing-pyproject-toml.rst:377 |
6283 | 6283 | msgid "or you can write the name of the license:" |
6284 | 6284 | msgstr "" |
6285 | 6285 |
|
6286 | | -#: ../source/guides/writing-pyproject-toml.rst:382 |
| 6286 | +#: ../source/guides/writing-pyproject-toml.rst:384 |
6287 | 6287 | msgid "If you are using a standard, well-known license, it is not necessary to use this field. Instead, you should use one of the :ref:`classifiers` starting with ``License ::``. (As a general rule, it is a good idea to use a standard, well-known license, both to avoid confusion and because some organizations avoid software whose license is unapproved.)" |
6288 | 6288 | msgstr "" |
6289 | 6289 |
|
6290 | | -#: ../source/guides/writing-pyproject-toml.rst:390 |
| 6290 | +#: ../source/guides/writing-pyproject-toml.rst:394 |
6291 | 6291 | #: ../source/specifications/pyproject-toml.rst:141 |
6292 | 6292 | #: ../source/specifications/pyproject-toml.rst:251 |
6293 | 6293 | msgid "``license-files``" |
6294 | 6294 | msgstr "" |
6295 | 6295 |
|
6296 | | -#: ../source/guides/writing-pyproject-toml.rst:392 |
| 6296 | +#: ../source/guides/writing-pyproject-toml.rst:396 |
6297 | 6297 | msgid ":pep:`639` (accepted in August 2024) has introduced the ``license-files`` field. Make sure your preferred build backend supports :pep:`639` before declaring the field. As of February 2025, :doc:`setuptools <setuptools:userguide/pyproject_config>` and :ref:`flit <flit:pyproject_toml_project>` don't support :pep:`639` yet." |
6298 | 6298 | msgstr "" |
6299 | 6299 |
|
6300 | | -#: ../source/guides/writing-pyproject-toml.rst:398 |
| 6300 | +#: ../source/guides/writing-pyproject-toml.rst:402 |
6301 | 6301 | msgid "This is a list of license files and files containing other legal information you want to distribute with your package." |
6302 | 6302 | msgstr "" |
6303 | 6303 |
|
6304 | | -#: ../source/guides/writing-pyproject-toml.rst:406 |
| 6304 | +#: ../source/guides/writing-pyproject-toml.rst:410 |
6305 | 6305 | msgid "The glob patterns must follow the specification:" |
6306 | 6306 | msgstr "" |
6307 | 6307 |
|
6308 | | -#: ../source/guides/writing-pyproject-toml.rst:408 |
| 6308 | +#: ../source/guides/writing-pyproject-toml.rst:412 |
6309 | 6309 | msgid "Alphanumeric characters, underscores (``_``), hyphens (``-``) and dots (``.``) will be matched verbatim." |
6310 | 6310 | msgstr "" |
6311 | 6311 |
|
6312 | | -#: ../source/guides/writing-pyproject-toml.rst:410 |
| 6312 | +#: ../source/guides/writing-pyproject-toml.rst:414 |
6313 | 6313 | msgid "Special characters: ``*``, ``?``, ``**`` and character ranges: [] are supported." |
6314 | 6314 | msgstr "" |
6315 | 6315 |
|
6316 | | -#: ../source/guides/writing-pyproject-toml.rst:411 |
| 6316 | +#: ../source/guides/writing-pyproject-toml.rst:415 |
6317 | 6317 | msgid "Path delimiters must be the forward slash character (``/``)." |
6318 | 6318 | msgstr "" |
6319 | 6319 |
|
6320 | | -#: ../source/guides/writing-pyproject-toml.rst:412 |
| 6320 | +#: ../source/guides/writing-pyproject-toml.rst:416 |
6321 | 6321 | msgid "Patterns are relative to the directory containing :file:`pyproject.toml`, and thus may not start with a slash character." |
6322 | 6322 | msgstr "" |
6323 | 6323 |
|
6324 | | -#: ../source/guides/writing-pyproject-toml.rst:414 |
| 6324 | +#: ../source/guides/writing-pyproject-toml.rst:418 |
6325 | 6325 | msgid "Parent directory indicators (``..``) must not be used." |
6326 | 6326 | msgstr "" |
6327 | 6327 |
|
6328 | | -#: ../source/guides/writing-pyproject-toml.rst:415 |
| 6328 | +#: ../source/guides/writing-pyproject-toml.rst:419 |
6329 | 6329 | msgid "Each glob must match at least one file." |
6330 | 6330 | msgstr "" |
6331 | 6331 |
|
6332 | | -#: ../source/guides/writing-pyproject-toml.rst:417 |
| 6332 | +#: ../source/guides/writing-pyproject-toml.rst:421 |
6333 | 6333 | msgid "Literal paths are valid globs. Any characters or character sequences not covered by this specification are invalid." |
6334 | 6334 | msgstr "" |
6335 | 6335 |
|
6336 | | -#: ../source/guides/writing-pyproject-toml.rst:423 |
| 6336 | +#: ../source/guides/writing-pyproject-toml.rst:427 |
6337 | 6337 | #: ../source/specifications/pyproject-toml.rst:139 |
6338 | 6338 | #: ../source/specifications/pyproject-toml.rst:352 |
6339 | 6339 | msgid "``keywords``" |
6340 | 6340 | msgstr "" |
6341 | 6341 |
|
6342 | | -#: ../source/guides/writing-pyproject-toml.rst:425 |
| 6342 | +#: ../source/guides/writing-pyproject-toml.rst:429 |
6343 | 6343 | msgid "This will help PyPI's search box to suggest your project when people search for these keywords." |
6344 | 6344 | msgstr "" |
6345 | 6345 |
|
6346 | | -#: ../source/guides/writing-pyproject-toml.rst:437 |
| 6346 | +#: ../source/guides/writing-pyproject-toml.rst:441 |
6347 | 6347 | #: ../source/specifications/pyproject-toml.rst:133 |
6348 | 6348 | #: ../source/specifications/pyproject-toml.rst:362 |
6349 | 6349 | msgid "``classifiers``" |
6350 | 6350 | msgstr "" |
6351 | 6351 |
|
6352 | | -#: ../source/guides/writing-pyproject-toml.rst:439 |
| 6352 | +#: ../source/guides/writing-pyproject-toml.rst:443 |
6353 | 6353 | msgid "A list of PyPI classifiers that apply to your project. Check the `full list of possibilities <classifier-list_>`_." |
6354 | 6354 | msgstr "" |
6355 | 6355 |
|
6356 | | -#: ../source/guides/writing-pyproject-toml.rst:463 |
| 6356 | +#: ../source/guides/writing-pyproject-toml.rst:467 |
6357 | 6357 | msgid "Although the list of classifiers is often used to declare what Python versions a project supports, this information is only used for searching and browsing projects on PyPI, not for installing projects. To actually restrict what Python versions a project can be installed on, use the :ref:`requires-python` argument." |
6358 | 6358 | msgstr "" |
6359 | 6359 |
|
6360 | | -#: ../source/guides/writing-pyproject-toml.rst:468 |
| 6360 | +#: ../source/guides/writing-pyproject-toml.rst:472 |
6361 | 6361 | msgid "To prevent a package from being uploaded to PyPI, use the special ``Private :: Do Not Upload`` classifier. PyPI will always reject packages with classifiers beginning with ``Private ::``." |
6362 | 6362 | msgstr "" |
6363 | 6363 |
|
6364 | | -#: ../source/guides/writing-pyproject-toml.rst:475 |
| 6364 | +#: ../source/guides/writing-pyproject-toml.rst:479 |
6365 | 6365 | #: ../source/specifications/pyproject-toml.rst:148 |
6366 | 6366 | #: ../source/specifications/pyproject-toml.rst:378 |
6367 | 6367 | msgid "``urls``" |
6368 | 6368 | msgstr "" |
6369 | 6369 |
|
6370 | | -#: ../source/guides/writing-pyproject-toml.rst:477 |
| 6370 | +#: ../source/guides/writing-pyproject-toml.rst:481 |
6371 | 6371 | msgid "A list of URLs associated with your project, displayed on the left sidebar of your PyPI project page." |
6372 | 6372 | msgstr "" |
6373 | 6373 |
|
6374 | | -#: ../source/guides/writing-pyproject-toml.rst:482 |
| 6374 | +#: ../source/guides/writing-pyproject-toml.rst:486 |
6375 | 6375 | msgid "See :ref:`well-known-labels` for a listing of labels that PyPI and other packaging tools are specifically aware of, and `PyPI's project metadata docs <https://docs.pypi.org/project_metadata/#project-urls>`_ for PyPI-specific URL processing." |
6376 | 6376 | msgstr "" |
6377 | 6377 |
|
6378 | | -#: ../source/guides/writing-pyproject-toml.rst:496 |
| 6378 | +#: ../source/guides/writing-pyproject-toml.rst:500 |
6379 | 6379 | msgid "Note that if the label contains spaces, it needs to be quoted, e.g., ``Website = \"https://example.com\"`` but ``\"Official Website\" = \"https://example.com\"``." |
6380 | 6380 | msgstr "" |
6381 | 6381 |
|
6382 | | -#: ../source/guides/writing-pyproject-toml.rst:500 |
| 6382 | +#: ../source/guides/writing-pyproject-toml.rst:504 |
6383 | 6383 | msgid "Users are advised to use :ref:`well-known-labels` for their project URLs where appropriate, since consumers of metadata (like package indices) can specialize their presentation." |
6384 | 6384 | msgstr "" |
6385 | 6385 |
|
6386 | | -#: ../source/guides/writing-pyproject-toml.rst:504 |
| 6386 | +#: ../source/guides/writing-pyproject-toml.rst:508 |
6387 | 6387 | msgid "For example in the following metadata, neither ``MyHomepage`` nor ``\"Download Link\"`` is a well-known label, so they will be rendered verbatim:" |
6388 | 6388 | msgstr "" |
6389 | 6389 |
|
6390 | | -#: ../source/guides/writing-pyproject-toml.rst:514 |
| 6390 | +#: ../source/guides/writing-pyproject-toml.rst:518 |
6391 | 6391 | msgid "Whereas in this metadata ``HomePage`` and ``DOWNLOAD`` both have well-known equivalents (``homepage`` and ``download``), and can be presented with those semantics in mind (the project's home page and its external download location, respectively)." |
6392 | 6392 | msgstr "" |
6393 | 6393 |
|
6394 | | -#: ../source/guides/writing-pyproject-toml.rst:526 |
| 6394 | +#: ../source/guides/writing-pyproject-toml.rst:530 |
6395 | 6395 | msgid "Advanced plugins" |
6396 | 6396 | msgstr "" |
6397 | 6397 |
|
6398 | | -#: ../source/guides/writing-pyproject-toml.rst:528 |
| 6398 | +#: ../source/guides/writing-pyproject-toml.rst:532 |
6399 | 6399 | msgid "Some packages can be extended through plugins. Examples include Pytest_ and Pygments_. To create such a plugin, you need to declare it in a subtable of ``[project.entry-points]`` like this:" |
6400 | 6400 | msgstr "" |
6401 | 6401 |
|
6402 | | -#: ../source/guides/writing-pyproject-toml.rst:537 |
| 6402 | +#: ../source/guides/writing-pyproject-toml.rst:541 |
6403 | 6403 | msgid "See the :ref:`Plugin guide <plugin-entry-points>` for more information." |
6404 | 6404 | msgstr "" |
6405 | 6405 |
|
6406 | | -#: ../source/guides/writing-pyproject-toml.rst:542 |
| 6406 | +#: ../source/guides/writing-pyproject-toml.rst:546 |
6407 | 6407 | msgid "A full example" |
6408 | 6408 | msgstr "" |
6409 | 6409 |
|
6410 | | -#: ../source/guides/writing-pyproject-toml.rst:605 |
| 6410 | +#: ../source/guides/writing-pyproject-toml.rst:609 |
6411 | 6411 | msgid "Think twice before applying an upper bound like ``requires-python = \"<= 3.10\"`` here. `This blog post <requires-python-blog-post_>`_ contains some information regarding possible problems." |
6412 | 6412 | msgstr "" |
6413 | 6413 |
|
|
0 commit comments