diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-10 03:22:48 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-10 03:22:48 (GMT) |
commit | e6db7a3a298e3bfe5064de2298ba6cdcb470793e (patch) | |
tree | bec2b5049f20ce1f86dedb2d4c9af1a35b4f47f3 /Lib/packaging/metadata.py | |
parent | 6bbd775377ae4a6e87ccce990750ac02afe83573 (diff) | |
download | cpython-e6db7a3a298e3bfe5064de2298ba6cdcb470793e.zip cpython-e6db7a3a298e3bfe5064de2298ba6cdcb470793e.tar.gz cpython-e6db7a3a298e3bfe5064de2298ba6cdcb470793e.tar.bz2 |
Fix determination of Metadata version in packaging (#8933).
Original patch by Filip Gruszczyński.
Diffstat (limited to 'Lib/packaging/metadata.py')
-rw-r--r-- | Lib/packaging/metadata.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/packaging/metadata.py b/Lib/packaging/metadata.py index 7d7fc6b..dbb53b2 100644 --- a/Lib/packaging/metadata.py +++ b/Lib/packaging/metadata.py @@ -61,7 +61,8 @@ _314_FIELDS = ('Metadata-Version', 'Name', 'Version', 'Platform', 'License', 'Classifier', 'Download-URL', 'Obsoletes', 'Provides', 'Requires') -_314_MARKERS = ('Obsoletes', 'Provides', 'Requires') +_314_MARKERS = ('Obsoletes', 'Provides', 'Requires', 'Classifier', + 'Download-URL') _345_FIELDS = ('Metadata-Version', 'Name', 'Version', 'Platform', 'Supported-Platform', 'Summary', 'Description', |