[Python-checkins] distutils2: move line
tarek.ziade
python-checkins at python.org
Sat Jan 29 12:59:10 CET 2011
tarek.ziade pushed f14bdaf3a95d to distutils2:
http://hg.python.org/distutils2/rev/f14bdaf3a95d
changeset: 900:f14bdaf3a95d
user: Gael Pasgrimaud <gael at gawel.org>
date: Fri Jan 28 15:24:57 2011 +0100
summary:
move line
files:
distutils2/metadata.py
diff --git a/distutils2/metadata.py b/distutils2/metadata.py
--- a/distutils2/metadata.py
+++ b/distutils2/metadata.py
@@ -78,13 +78,13 @@
'Obsoletes-Dist', 'Requires-External', 'Maintainer',
'Maintainer-email', 'Project-URL')
+_345_REQUIRED = ('Name', 'Version')
+
_ALL_FIELDS = set()
_ALL_FIELDS.update(_241_FIELDS)
_ALL_FIELDS.update(_314_FIELDS)
_ALL_FIELDS.update(_345_FIELDS)
-_345_REQUIRED = ('Name', 'Version')
-
def _version2fieldlist(version):
if version == '1.0':
return _241_FIELDS
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list