PEP 621: Remove mentions of core metadata from `Entry points` (#1989)
This commit is contained in:
parent
e6ce12334a
commit
7654df8351
|
@ -350,7 +350,7 @@ Entry points
|
|||
- Format: Table (``[project.scripts]``, ``[project.gui-scripts]``, and
|
||||
``[project.entry-points]``)
|
||||
- `Core metadata`_: N/A;
|
||||
`Entry point specification <https://packaging.python.org/specifications/entry-points/>`_
|
||||
`Entry points specification`_
|
||||
- Synonyms
|
||||
|
||||
- Flit_: ``[tool.flit.scripts]`` table for console scripts,
|
||||
|
@ -363,11 +363,11 @@ Entry points
|
|||
|
||||
There are three tables related to entry points. The
|
||||
``[project.scripts]`` table corresponds to the ``console_scripts``
|
||||
group in the `core metadata`_. The key of the table is the name of the
|
||||
group in the `entry points specification`_. The key of the table is the name of the
|
||||
entry point and the value is the object reference.
|
||||
|
||||
The ``[project.gui-scripts]`` table corresponds to the ``gui_scripts``
|
||||
group in the `core metadata`_. Its format is the same as
|
||||
group in the `entry points specification`_. Its format is the same as
|
||||
``[project.scripts]``.
|
||||
|
||||
The ``[project.entry-points]`` table is a collection of tables. Each
|
||||
|
@ -720,6 +720,7 @@ CC0-1.0-Universal license, whichever is more permissive.
|
|||
.. _trove classifiers: https://pypi.org/classifiers/
|
||||
.. _SPDX: https://spdx.dev/
|
||||
.. _RFC #822: https://tools.ietf.org/html/rfc822
|
||||
.. _entry points specification: https://packaging.python.org/specifications/entry-points/
|
||||
|
||||
..
|
||||
Local Variables:
|
||||
|
|
Loading…
Reference in New Issue