Author eric.araujo
Recipients alexis, christian.heimes, eric.araujo, erik.bray
Date 2012-01-05.03:45:56
SpamBayes Score 6.52132e-09
Marked as misclassified No
Message-id <>
The bug is caused by code in packaging.create that iterates over a dict (package_data) to extend a list (extra_files).  Instead of just calling sorted to make output deterministic, I’d prefer to fix that more serious behavior bug (see also #13463, #11805 and #5302 for more !fun package_data bugs).  Problem is that the setup.cfg syntax does not define how to give more than one value.  If it’s judged acceptable to disallow paths with embedded spaces, we could do something like this:

package_data =
    spam = first second third

Otherwise we’d need to use multiple lines (requested in #5302):

package_data =
    spam = first
    spam = second
    spam = third

We probably don’t want that.  An intermediate idea:

package_data =
    spam = first

Not sure this would be the nicest thing for people to write, and for us (me) to extend the setup.cfg parser for.

Anyway, attached patch fixes the code so that package_data in becomes package_data in setup.cfg and adapts the tests to check that, disabling multi-value package_data for now.  I tested it with distutils2 and pypy, so it should fix the hash change in your clone.
Date User Action Args
2012-01-05 03:46:00eric.araujosetrecipients: + eric.araujo, christian.heimes, alexis, erik.bray
2012-01-05 03:45:59eric.araujosetmessageid: <>
2012-01-05 03:45:59eric.araujolinkissue13712 messages
2012-01-05 03:45:58eric.araujocreate