@@ -6,8 +6,8 @@ Licensing examples and user scenarios
66=====================================
77
88
9- :pep: `639 ` has specified the way to declare a project's license and paths to
10- license files and other legally required information.
9+ :pep: `639 ` has specified the way to declare a :term: ` Distribution Archive `'s
10+ license and paths to license files and other legally required information.
1111This document aims to provide clear guidance how to migrate from the legacy
1212to the standardized way of declaring licenses.
1313Make sure your preferred build backend supports :pep: `639 ` before
@@ -53,7 +53,7 @@ Or, if the project used :file:`setup.cfg`, in its ``[metadata]`` table:
5353 [metadata]
5454 license = MIT
5555
56- The output Core Metadata for the distribution packages would then be:
56+ The output Core Metadata for the :term: ` Distribution Package ` would then be:
5757
5858.. code-block :: email
5959
@@ -63,8 +63,9 @@ The output Core Metadata for the distribution packages would then be:
6363 The :file: `LICENSE ` file would be stored at :file: `/setuptools-{ VERSION } /LICENSE `
6464in the sdist and :file: `/setuptools-{ VERSION } .dist-info/licenses/LICENSE `
6565in the wheel, and unpacked from there into the site directory (e.g.
66- :file: `site-packages/ `) on installation; :file: `/ ` is the root of the respective archive
67- and ``{VERSION} `` the version of the Setuptools release in the Core Metadata.
66+ :file: `site-packages/ `) on installation; :file: `/ ` is the root of the respective
67+ archive and ``{VERSION} `` the version of the Setuptools release in the Core
68+ Metadata.
6869
6970
7071.. _licensing-example-advanced :
@@ -83,7 +84,7 @@ directories; specifically:
8384 ordered-set==3.1.1
8485 more_itertools==8.8.0
8586
86- The license expressions for these projects are:
87+ The appropriate license expressions are:
8788
8889.. code-block :: text
8990
@@ -287,7 +288,7 @@ and make sure to remove any legacy ``license`` table subkeys or
287288``License :: `` classifiers. Your existing ``license `` value may already
288289be valid as one (e.g. ``MIT ``, ``Apache-2.0 OR BSD-2-Clause ``, etc);
289290otherwise, check the `SPDX license list <spdxlist _>`__ for the identifier
290- that matches the license used in your project .
291+ that matches the license used.
291292
292293Make sure to list your license files under ``license-files ``
293294under ``[project] `` in :file: `pyproject.toml `
@@ -312,12 +313,11 @@ to describe the licenses involved and the relationship
312313between them.
313314
314315In short, ``License-1 AND License-2 `` mean that *both * licenses apply
315- to your project, or parts of it (for example, you included a file
316- under another license), and ``License-1 OR License-2 `` means that
317- *either * of the licenses can be used, at the user's option (for example,
318- you want to allow users a choice of multiple licenses). You can use
319- parenthesis (``() ``) for grouping to form expressions that cover even the most
320- complex situations.
316+ (for example, you included a file under another license), and
317+ ``License-1 OR License-2 `` means that *either * of the licenses can be used, at
318+ the user's option (for example, you want to allow users a choice of multiple
319+ licenses). You can use parenthesis (``() ``) for grouping to form expressions
320+ that cover even the most complex situations.
321321
322322In your project config file, enter your license expression under
323323``license `` (``[project] `` table of :file: `pyproject.toml `),
0 commit comments