@@ -245,12 +245,12 @@ order. Usage of inline tables SHOULD also be kept consistent.
245
245
246
246
.. Source
247
247
248
- ``[packaging .vcs] ``
248
+ ``[packages .vcs] ``
249
249
-------------------
250
250
251
251
- **Type **: table
252
- - **Required? **: no; mutually-exclusive with ``packaging .directory ``,
253
- ``packaging .archive ``, ``packaging .sdist ``, and ``packaging .wheels ``
252
+ - **Required? **: no; mutually-exclusive with ``packages .directory ``,
253
+ ``packages .archive ``, ``packages .sdist ``, and ``packages .wheels ``
254
254
- **Inspiration **: :ref: `packaging:direct-url-data-structure `
255
255
- Record the version control system details for the
256
256
:ref: `source tree <packaging:source-distribution-format-source-tree >` it
@@ -261,7 +261,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
261
261
systems.
262
262
263
263
264
- ``packaging .vcs.type ``
264
+ ``packages .vcs.type ``
265
265
''''''''''''''''''''''
266
266
267
267
- **Type **: string; supported values specified in
@@ -271,7 +271,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
271
271
- The type of version control system used.
272
272
273
273
274
- ``packaging .vcs.url ``
274
+ ``packages .vcs.url ``
275
275
'''''''''''''''''''''
276
276
277
277
- **Type **: string
@@ -280,7 +280,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
280
280
- The URL to the source tree.
281
281
282
282
283
- ``packaging .vcs.path ``
283
+ ``packages .vcs.path ``
284
284
''''''''''''''''''''''
285
285
286
286
- **Type **: string
@@ -292,7 +292,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
292
292
for portability.
293
293
294
294
295
- ``packaging .vcs.requested-revision ``
295
+ ``packages .vcs.requested-revision ``
296
296
''''''''''''''''''''''''''''''''''''
297
297
298
298
- **Type **: string
@@ -304,7 +304,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
304
304
the repository.
305
305
306
306
307
- ``packaging .vcs.commit-id ``
307
+ ``packages .vcs.commit-id ``
308
308
'''''''''''''''''''''''''''
309
309
310
310
- **Type **: string
@@ -316,7 +316,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
316
316
the source code.
317
317
318
318
319
- ``packaging .vcs.subdirectory ``
319
+ ``packages .vcs.subdirectory ``
320
320
''''''''''''''''''''''''''''''
321
321
322
322
- **Type **: string
@@ -329,12 +329,12 @@ order. Usage of inline tables SHOULD also be kept consistent.
329
329
- The path MUST be relative to the root of the source tree structure.
330
330
331
331
332
- ``[packaging .directory] ``
332
+ ``[packages .directory] ``
333
333
-------------------------
334
334
335
335
- **Type **: table
336
- - **Required? **: no; mutually-exclusive with ``packaging .vcs ``,
337
- ``packaging .archive ``, ``packaging .sdist ``, and ``packaging .wheels ``
336
+ - **Required? **: no; mutually-exclusive with ``packages .vcs ``,
337
+ ``packages .archive ``, ``packages .sdist ``, and ``packages .wheels ``
338
338
- **Inspiration **: :ref: `packaging:direct-url-data-structure-local-directory `
339
339
- Record the local directory details for the
340
340
:ref: `source tree <packaging:source-distribution-format-source-tree >` it
@@ -344,7 +344,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
344
344
- Tools SHOULD provide a way for users to opt out of using local directories.
345
345
346
346
347
- ``packaging .directory.path ``
347
+ ``packages .directory.path ``
348
348
''''''''''''''''''''''''''''
349
349
350
350
- **Type **: string
@@ -356,7 +356,7 @@ order. Usage of inline tables SHOULD also be kept consistent.
356
356
portability.
357
357
358
358
359
- ``packaging .directory.editable ``
359
+ ``packages .directory.editable ``
360
360
''''''''''''''''''''''''''''''''
361
361
362
362
- **Type **: boolean
@@ -365,13 +365,13 @@ order. Usage of inline tables SHOULD also be kept consistent.
365
365
- A flag representing whether the source tree should be installed as editable.
366
366
367
367
368
- ``packaging .directory.subdirectory ``
368
+ ``packages .directory.subdirectory ``
369
369
''''''''''''''''''''''''''''''''''''
370
370
371
- See ``packaging .vcs.subdirectory ``.
371
+ See ``packages .vcs.subdirectory ``.
372
372
373
373
374
- ``[packaging .archive] ``
374
+ ``[packages .archive] ``
375
375
-----------------------
376
376
377
377
- **Type **: table
@@ -384,19 +384,19 @@ See ``packaging.vcs.subdirectory``.
384
384
- Tools SHOULD provide a way for users to opt out of using archive files.
385
385
386
386
387
- ``packaging .archive.url ``
387
+ ``packages .archive.url ``
388
388
'''''''''''''''''''''''''
389
389
390
- See ``packaging .vcs.url ``.
390
+ See ``packages .vcs.url ``.
391
391
392
392
393
- ``packaging .archive.path ``
393
+ ``packages .archive.path ``
394
394
''''''''''''''''''''''''''
395
395
396
- See ``packaging .vcs.path ``.
396
+ See ``packages .vcs.path ``.
397
397
398
398
399
- ``packaging .archive.size ``
399
+ ``packages .archive.size ``
400
400
''''''''''''''''''''''''''
401
401
402
402
- **Type **: integer
@@ -405,7 +405,7 @@ See ``packaging.vcs.path``.
405
405
- The size of the archive file.
406
406
407
407
408
- ``[packaging .archive.hashes] ``
408
+ ``[packages .archive.hashes] ``
409
409
''''''''''''''''''''''''''''''
410
410
411
411
- **Type **: Table of strings
@@ -420,10 +420,10 @@ See ``packaging.vcs.path``.
420
420
recommended.
421
421
422
422
423
- ``packaging .archive.subdirectory ``
423
+ ``packages .archive.subdirectory ``
424
424
''''''''''''''''''''''''''''''''''
425
425
426
- See ``packaging .vcs.subdirectory ``.
426
+ See ``packages .vcs.subdirectory ``.
427
427
428
428
429
429
``packages.index ``
@@ -442,8 +442,8 @@ See ``packaging.vcs.subdirectory``.
442
442
--------------------
443
443
444
444
- **Type **: table
445
- - **Required? **: no; mutually-exclusive with ``packaging .vcs ``,
446
- ``packaging .directory ``, and ``packaging .archive ``
445
+ - **Required? **: no; mutually-exclusive with ``packages .vcs ``,
446
+ ``packages .directory ``, and ``packages .archive ``
447
447
- **Inspiration **: uv _
448
448
- Details of a :ref: `packaging:source-distribution-format-sdist ` for the
449
449
package.
@@ -476,34 +476,34 @@ See ``packaging.vcs.subdirectory``.
476
476
``packages.sdist.url ``
477
477
''''''''''''''''''''''
478
478
479
- See ``packaging .archive.url ``.
479
+ See ``packages .archive.url ``.
480
480
481
481
482
482
``packages.sdist.path ``
483
483
'''''''''''''''''''''''
484
484
485
- See ``packaging .archive.path ``.
485
+ See ``packages .archive.path ``.
486
486
487
487
488
488
``packages.sdist.size ``
489
489
'''''''''''''''''''''''
490
490
491
- See ``packaging .archive.size ``.
491
+ See ``packages .archive.size ``.
492
492
493
493
494
494
``packages.sdist.hashes ``
495
495
'''''''''''''''''''''''''
496
496
497
- See ``packaging .archive.hashes ``.
497
+ See ``packages .archive.hashes ``.
498
498
499
499
500
500
501
501
``[[packages.wheels]] ``
502
502
-----------------------
503
503
504
504
- **Type **: array of tables
505
- - **Required? **: no; mutually-exclusive with ``packaging .vcs ``,
506
- ``packaging .directory ``, and ``packaging .archive ``
505
+ - **Required? **: no; mutually-exclusive with ``packages .vcs ``,
506
+ ``packages .directory ``, and ``packages .archive ``
507
507
- **Inspiration **: PDM _, Poetry _, uv _
508
508
- For recording the wheel files as specified by
509
509
:ref: `packaging:binary-distribution-format ` for the package.
@@ -529,25 +529,25 @@ See ``packages.sdist.upload-time``.
529
529
``packages.wheels.url ``
530
530
'''''''''''''''''''''''
531
531
532
- See ``packaging .archive.url ``.
532
+ See ``packages .archive.url ``.
533
533
534
534
535
535
``packages.wheels.path ``
536
536
''''''''''''''''''''''''
537
537
538
- See ``packaging .archive.path ``.
538
+ See ``packages .archive.path ``.
539
539
540
540
541
541
``packages.wheels.size ``
542
542
''''''''''''''''''''''''
543
543
544
- See ``packaging .archive.size ``.
544
+ See ``packages .archive.size ``.
545
545
546
546
547
547
``packages.wheels.hashes ``
548
548
''''''''''''''''''''''''''
549
549
550
- See ``packaging .archive.hashes ``.
550
+ See ``packages .archive.hashes ``.
551
551
552
552
553
553
@@ -816,7 +816,7 @@ At one point, to handle the issue of metadata varying between files and thus
816
816
require examining every released file for a package and version for accurate
817
817
locking results, the idea was floated to introduce a new core metadata version
818
818
which would require all metadata for all wheel files be the same for a single
819
- version of a packages . Ultimately, though, it was deemed unnecessary as this PEP
819
+ version of a package . Ultimately, though, it was deemed unnecessary as this PEP
820
820
will put pressure on people to make files consistent for performance reasons or
821
821
to make indexes provide all the metadata separate from the wheel files
822
822
themselves. As well, there's no easy enforcement mechanism, and so community
@@ -1046,7 +1046,7 @@ although the chances are people will expect it to be implemented as it shouldn't
1046
1046
increase the complexity of an installer drastically.
1047
1047
1048
1048
1049
- Make ``packaging .wheels `` a table
1049
+ Make ``packages .wheels `` a table
1050
1050
=================================
1051
1051
1052
1052
One could see writing out wheel file details as a table keyed on the file name.
0 commit comments