Skip to content

Commit afceaff

Browse files
authored
Merge pull request #1662 from befeleme/pep639
Update the specification with PEP 639
2 parents c6a3722 + ab63fe4 commit afceaff

9 files changed

+581
-28
lines changed

source/glossary.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,40 @@ Glossary
147147
multiple individual distributions.
148148

149149

150+
License Classifier
151+
152+
A PyPI Trove classifier
153+
(as :ref:`described <core-metadata-classifier>`
154+
in the :term:`Core Metadata` specification)
155+
which begins with ``License ::``.
156+
157+
158+
License Expression
159+
SPDX Expression
160+
161+
A string with valid SPDX license expression syntax,
162+
including one or more SPDX :term:`License Identifier`\(s),
163+
which describes a :term:`Project`'s license(s)
164+
and how they inter-relate.
165+
Examples:
166+
``GPL-3.0-or-later``,
167+
``MIT AND (Apache-2.0 OR BSD-2-Clause)``
168+
169+
170+
License Identifier
171+
SPDX Identifier
172+
173+
A valid SPDX short-form license identifier,
174+
originally specified in :pep:`639`.
175+
This includes all valid SPDX identifiers and
176+
the custom ``LicenseRef-[idstring]`` strings conforming to the
177+
SPDX specification.
178+
Examples:
179+
``MIT``,
180+
``GPL-3.0-only``,
181+
``LicenseRef-My-Custom-License``
182+
183+
150184
Module
151185

152186
The basic unit of code reusability in Python, existing in one of two
@@ -313,6 +347,23 @@ Glossary
313347
docs on :ref:`pip:Requirements Files`.
314348

315349

350+
Root License Directory
351+
License Directory
352+
353+
The directory under which license files are stored in a
354+
:term:`Project Source Tree`, :term:`Distribution Archive`
355+
or :term:`Installed Project`.
356+
For a :term:`Project Source Tree` or
357+
:term:`Source Distribution (or "sdist")`, this is the
358+
:term:`Project Root Directory`.
359+
For a :term:`Built Distribution` or :term:`Installed Project`,
360+
this is the :file:`.dist-info/licenses/` directory of
361+
the wheel archive or project folder respectively.
362+
Also, the root directory that paths
363+
recorded in the ``License-File``
364+
:term:`Core Metadata Field` are relative to.
365+
366+
316367
setup.py
317368
setup.cfg
318369

0 commit comments

Comments
 (0)