Skip to content

Commit b96b1a2

Browse files
befelemewebknjaz
andauthored
Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent cd54de1 commit b96b1a2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

source/guides/licensing-examples-and-user-scenarios.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Licensing examples and user scenarios
1010
license files and other legally required information.
1111
This document aims to provide clear guidance how to migrate from the legacy
1212
to the standardized way of declaring licenses.
13-
Make sure your preferred build backend supports PEP 639 before
13+
Make sure your preferred build backend supports :pep:`639` before
1414
trying to apply the newer guidelines.
15-
As of February 2025, setuptools and flit don't support PEP 639 yet.
15+
As of February 2025, setuptools and flit don't support :pep:`639` yet.
1616

1717

1818
Licensing Examples

source/guides/writing-pyproject-toml.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,13 @@ You can also specify the format explicitly, like this:
325325
``license``
326326
-----------
327327

328-
PEP 639 (accepted in August 2024) has changed the way the ``license`` field
329-
is declared. Make sure your preferred build backend supports PEP 639 before
328+
:pep:`639` (accepted in August 2024) has changed the way the ``license`` field
329+
is declared. Make sure your preferred build backend supports :pep:`639` before
330330
trying to apply the newer guidelines.
331-
As of February 2025, setuptools and flit don't support PEP 639 yet.
331+
As of February 2025, setuptools and flit don't support :pep:`639` yet.
332332

333-
PEP 639 license declaration
334-
'''''''''''''''''''''''''''
333+
:pep:`639` license declaration
334+
''''''''''''''''''''''''''''''
335335

336336
This is a valid :term:`SPDX license expression <License Expression>` consisting
337337
of one or more :term:`license identifiers <License Identifier>`.
@@ -364,7 +364,7 @@ Legacy license declaration
364364
''''''''''''''''''''''''''
365365

366366
This can take two forms. You can put your license in a file, typically
367-
``LICENSE`` or ``LICENSE.txt``, and link that file here:
367+
:file:`LICENSE` or :file:`LICENSE.txt`, and link that file here:
368368

369369
.. code-block:: toml
370370
@@ -388,10 +388,10 @@ whose license is unapproved.)
388388
``license-files``
389389
-----------------
390390

391-
PEP 639 (accepted in August 2024) has introduced the ``license-files`` field.
392-
Make sure your preferred build backend supports PEP 639 before declaring the
391+
:pep:`639` (accepted in August 2024) has introduced the ``license-files`` field.
392+
Make sure your preferred build backend supports :pep:`639` before declaring the
393393
field.
394-
As of February 2025, setuptools and flit don't support PEP 639 yet.
394+
As of February 2025, setuptools and flit don't support :pep:`639` yet.
395395

396396
This is a list of license files and files containing other legal
397397
information you want to distribute with your package.

0 commit comments

Comments
 (0)