Skip to content

Commit fc1d27d

Browse files
authored
Merge pull request #2178 from rgommers/specification-page
Clarify packaging specifications titles and terminology
2 parents 44c9aac + 585cc8c commit fc1d27d

6 files changed

Lines changed: 21 additions & 12 deletions

File tree

‎source/guides/dropping-older-python-versions.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ If using the :ref:`setuptools` build backend, consult the `dependency-management
9898
Within a Python source package (the zip or the tar-gz file you download) is a text file called PKG-INFO.
9999

100100
This file is generated by the :term:`build backend <Build Backend>` when it generates the source package.
101-
The file contains a set of keys and values, the list of keys is part of the PyPA standard metadata format.
101+
The file contains a set of keys and values defined by the :ref:`Core Metadata specification <core-metadata>`.
102102

103103
You can see the contents of the generated file like this:
104104

‎source/index.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Python Packaging User Guide
1515
tutorials/index
1616
guides/index
1717
discussions/index
18-
specifications/index
18+
Specifications <specifications/index>
1919
key_projects
2020
glossary
2121
support

‎source/specifications/entry-points.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ example:
1818

1919
The entry point file format was originally developed to allow packages built
2020
with setuptools to provide integration point metadata that would be read at
21-
runtime with :py:mod:`importlib.metadata`. It is now defined as a PyPA interoperability
22-
specification in order to allow build tools other than ``setuptools`` to publish
21+
runtime with :py:mod:`importlib.metadata`. It is now defined as a Python packaging
22+
interoperability specification in order to allow build tools other than ``setuptools`` to publish
2323
:py:mod:`importlib.metadata` compatible entry point metadata, and runtime libraries other
2424
than :py:mod:`importlib.metadata` to portably read published entry point metadata
2525
(potentially with different caching and conflict resolution strategies).

‎source/specifications/glob-patterns.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
``glob`` patterns
33
=================
44

5-
Some PyPA specifications, e.g. :ref:`pyproject.toml's license-files
5+
Some Python packaging specifications, e.g. :ref:`pyproject.toml's license-files
66
<pyproject-toml-license-files>`, accept certain types of *glob patterns*
77
to match a given string containing wildcards and character ranges against
88
files and directories. This specification defines which patterns are acceptable
@@ -12,7 +12,7 @@ and how they should be handled.
1212
Valid glob patterns
1313
===================
1414

15-
For PyPA purposes, a *valid glob pattern* MUST be a string matched against
15+
For this specification, a *valid glob pattern* MUST be a string matched against
1616
filesystem entries as specified below:
1717

1818
- Alphanumeric characters, spaces (`` ``), underscores (``_``), hyphens (``-``),

‎source/specifications/index.rst‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1+
.. legacy title, keep for now to avoid breaking incoming links
2+
.. _pypa-specifications:
3+
14
.. _`packaging-specifications`:
25

3-
PyPA specifications
4-
###################
6+
Python Packaging Specifications
7+
###############################
58

69
This is a list of currently active interoperability specifications maintained
7-
by the Python Packaging Authority. The process for updating these standards,
8-
and for proposing new ones, is documented on
9-
`pypa.io <https://www.pypa.io/en/latest/specifications/>`__.
10+
by the Python Packaging Council. The process for updating these standards,
11+
and for proposing new ones, is documented in
12+
`the python/packaging-council repo <https://github.com/python/packaging-council#process-for-packaging-standards>`__.
1013

1114
.. toctree::
1215
:titlesonly:
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
.. legacy title, keep for now to avoid breaking incoming links
2+
3+
.. _pypa-schemas:
4+
.. _json-schemas:
15
.. _`packaging-schemas`:
26

3-
PyPA schemas
7+
JSON Schemas
48
############
59

10+
JSON schemas for data structures defined by the packaging specifications.
11+
612
- `direct_url.json <direct-url.schema.json>`_
713
- `build-details.json <build-details-v1.0.schema.json>`_
814
- `pylock.toml <pylock.schema.json>`_

0 commit comments

Comments
 (0)