Éric Araujo added the comment:
gawel confirmed on IRC that this was an oversight. On second thought, I
decided to remove the constant, which I deemed unneeded: it doesn’t save time
for programmers (there is code checking various subsets of the fields
everywhere, just one constant does not re
Éric Araujo added the comment:
Thanks for the report and fix (da2f3527ef02). I think you wanted to use a
global object to list required fields, but you defined it without using it:
_345_REQUIRED = ('Name', 'Version')
[...]
-for attr in ('Name', 'Version', 'Home-page'):
+
+for
New submission from Gael Pasgrimaud :
distutils2 commands should stop if at least Name and Version metadatas are not
provided in setup.cfg
For now you'll get a UNKNOWN-UNKNOWN.tar.gz
--
assignee: tarek
components: Distutils2
messages: 127277
nosy: eric.araujo, gawel, tarek
priority: no