forked from pypa/twine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from pkginfo to packaging for parsing distribution metadata
The packaging package is maintained by the PyPA and it is the de-facto reference implementation for the packaging standards. Using packaging for parsing metadata guarantees support for the latest metadata versions. warehouse, the Python package index implementation used by PyPI, also uses packaging for parsing metadata. This guarantees that metadata parsing is the same on the client and server side, for the most prominent index.
- Loading branch information
Showing
16 changed files
with
370 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- ``packaging`` is used instead of ``pkginfo`` for parsing and | ||
validating metadata. This aligns metadata validation to the one | ||
performed by PyPI. ``pkginfo`` is not a dependency anymore. | ||
- Metadata fields defined added with metadata version 2.4 as defined | ||
by PEP 639 are now sent to the package index when a distribution is | ||
uploaded. This results in licensing information to appear correctly | ||
on the package page on PyPI when uploading packages using metadata | ||
version 2.4. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Metadata-Version: 2.4 | ||
Name: BeagleVote | ||
Version: 1.0a2 | ||
Platform: ObscureUnix | ||
Platform: RareDOS | ||
Supported-Platform: RedHat 7.2 | ||
Supported-Platform: i386-win32-2791 | ||
Summary: A module for collecting votes from beagles. | ||
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM | ||
Keywords: dog,puppy,voting,election | ||
Home-page: http://www.example.com/~cschultz/bvote/ | ||
Download-URL: …/BeagleVote-0.45.tgz | ||
Author: C. Schultz, Universal Features Syndicate, | ||
Los Angeles, CA <[email protected]> | ||
Author-email: "C. Schultz" <[email protected]> | ||
Maintainer: C. Schultz, Universal Features Syndicate, | ||
Los Angeles, CA <[email protected]> | ||
Maintainer-email: "C. Schultz" <[email protected]> | ||
License: This software may only be obtained by sending the | ||
author a postcard, and then the user promises not | ||
to redistribute it. | ||
License-Expression: Apache-2.0 OR BSD-2-Clause | ||
License-File: LICENSE.APACHE | ||
License-File: LICENSE.BSD | ||
Classifier: Development Status :: 4 - Beta | ||
Classifier: Environment :: Console (Text Based) | ||
Provides-Extra: pdf | ||
Requires-Dist: reportlab; extra == 'pdf' | ||
Requires-Dist: pkginfo | ||
Requires-Dist: PasteDeploy | ||
Requires-Dist: zope.interface (>3.5.0) | ||
Requires-Dist: pywin32 >1.0; sys_platform == 'win32' | ||
Requires-Python: >=3 | ||
Requires-External: C | ||
Requires-External: libpng (>=1.5) | ||
Requires-External: make; sys_platform != "win32" | ||
Project-URL: Bug Tracker, http://bitbucket.org/tarek/distribute/issues/ | ||
Project-URL: Documentation, https://example.com/BeagleVote | ||
Provides-Dist: OtherProject | ||
Provides-Dist: AnotherProject (3.4) | ||
Provides-Dist: virtual_package; python_version >= "3.4" | ||
Dynamic: Obsoletes-Dist | ||
|
||
This description intentionally left blank. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.