Support the modern METADATA file in extension packages.
Review Request #8068 — Created March 21, 2016 and submitted
Modern Python packages store metadata in a METADATA file, rather than in a PKG-INFO file. This updates our extension metadata parsing to try this file first, falling back on PKG-INFO. That gives us compatibility with any modern packages (particularly wheels), while retaining support for older packages (eggs).
Tested this with an extension containing a METADATA file but not PKG-INFO.
Successfully extracted metadata from the package for the extension.
Description | From | Last Updated |
---|---|---|
undefined name 'logging' |
reviewbot |
- Change Summary:
-
Added a missing import for
logging
. - Commit:
-
e64129a2459940102044fd0e8b7244a2a0819ce74329741fbe0dd5e8736e8b3e4142d8aa4524c09f
- Diff:
-
Revision 2 (+17 -1)