Skip to content

Commit 90b054d

Browse files
committed
Specify PEP 621
1 parent 079f4ec commit 90b054d

4 files changed

Lines changed: 335 additions & 3 deletions

File tree

source/specifications/core-metadata.rst

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Example::
4949
Metadata-Version: 2.1
5050

5151

52+
.. _core-metadata-name:
53+
5254
Name
5355
====
5456

@@ -69,6 +71,8 @@ Example::
6971
Name: BeagleVote
7072

7173

74+
.. _core-metadata-version:
75+
7276
Version
7377
=======
7478

@@ -113,6 +117,8 @@ Example::
113117
Supported-Platform: i386-win32-2791
114118

115119

120+
.. _core-metadata-summary:
121+
116122
Summary
117123
=======
118124

@@ -130,7 +136,9 @@ Example::
130136
link targets like this one, so that links to the individual sections are not
131137
broken.
132138
139+
133140
.. _description-optional:
141+
.. _core-metadata-description:
134142

135143
Description
136144
===========
@@ -175,7 +183,9 @@ Alternatively, the distribution's description may instead be provided in the
175183
message body (i.e., after a completely blank line following the headers, with
176184
no indentation or other special formatting necessary).
177185

186+
178187
.. _description-content-type-optional:
188+
.. _core-metadata-description-content-type:
179189

180190
Description-Content-Type
181191
========================
@@ -261,7 +271,9 @@ So for the last example above, the ``charset`` defaults to ``UTF-8`` and the
261271
``variant`` defaults to ``GFM`` and thus it is equivalent to the example
262272
before it.
263273

274+
264275
.. _keywords-optional:
276+
.. _core-metadata-keywords:
265277

266278
Keywords
267279
========
@@ -305,7 +317,9 @@ A string containing the URL from which this version of the distribution
305317
can be downloaded. (This means that the URL can't be something like
306318
".../BeagleVote-latest.tgz", but instead must be ".../BeagleVote-0.45.tgz".)
307319

320+
308321
.. _author-optional:
322+
.. _core-metadata-author:
309323

310324
Author
311325
======
@@ -320,7 +334,9 @@ Example::
320334
Author: C. Schultz, Universal Features Syndicate,
321335
Los Angeles, CA <cschultz@peanuts.example.com>
322336

337+
323338
.. _author-email-optional:
339+
.. _core-metadata-author-email:
324340

325341
Author-email
326342
============
@@ -340,7 +356,9 @@ addresses::
340356

341357
Author-email: cschultz@example.com, snoopy@peanuts.com
342358

359+
343360
.. _maintainer-optional:
361+
.. _core-metadata-maintainer:
344362

345363
Maintainer
346364
==========
@@ -359,7 +377,9 @@ Example::
359377
Maintainer: C. Schultz, Universal Features Syndicate,
360378
Los Angeles, CA <cschultz@peanuts.example.com>
361379

380+
362381
.. _maintainer-email-optional:
382+
.. _core-metadata-maintainer-email:
363383

364384
Maintainer-email
365385
================
@@ -383,7 +403,9 @@ addresses::
383403

384404
Maintainer-email: cschultz@example.com, snoopy@peanuts.com
385405

406+
386407
.. _license-optional:
408+
.. _core-metadata-license:
387409

388410
License
389411
=======
@@ -407,6 +429,7 @@ Examples::
407429

408430

409431
.. _metadata-classifier:
432+
.. _core-metadata-classifier:
410433

411434
Classifier (multiple use)
412435
=========================
@@ -426,6 +449,8 @@ Examples::
426449
Classifier: Environment :: Console (Text Based)
427450

428451

452+
.. _core-metadata-requires-dist:
453+
429454
Requires-Dist (multiple use)
430455
============================
431456

@@ -466,6 +491,8 @@ Examples::
466491
Requires-Dist: pywin32 >1.0; sys_platform == 'win32'
467492

468493

494+
.. _core-metadata-requires-python:
495+
469496
Requires-Python
470497
===============
471498

@@ -519,6 +546,8 @@ Examples::
519546
Requires-External: make; sys_platform != "win32"
520547

521548

549+
.. _core-metadata-project-url:
550+
522551
Project-URL (multiple-use)
523552
==========================
524553

@@ -533,8 +562,9 @@ Example::
533562

534563
The label is free text limited to 32 characters.
535564

536-
.. _metadata_provides_extra:
537565

566+
.. _metadata_provides_extra:
567+
.. _core-metadata-provides-extra:
538568
.. _provides-extra-optional-multiple-use:
539569

540570
Provides-Extra (multiple use)

0 commit comments

Comments
 (0)