Author eric.araujo
Recipients alexis, eric.araujo, erik.bray, jkloth, paul.moore, tarek
Date 2012-01-16.16:23:33
SpamBayes Score 1.01389e-07
Marked as misclassified No
Message-id <>
Copied from #13712:

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) [actually no, it was this bug #11805]

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.

[Erik Bray]
FWIW, I'm for the first option for specifying package_data:

package_data =
    spam = first second third

I'm pretty sure this is how I ended up implementing it in d2to1, since I needed this functionality.

Theoretically spaces could be supported with an escape sequence, but I don't think that's worth complicating things for if package_data is deprecated anyways.  I'm all for making it difficult for anyone trying to include filenames with spaces in their source code.

So, I think allowing spaces and newlines to separate multiple values will be the nicest (spaces only would require users to cram all there file specs on one line).
Date User Action Args
2012-01-16 16:23:34eric.araujosetrecipients: + eric.araujo, paul.moore, tarek, jkloth, alexis, erik.bray
2012-01-16 16:23:34eric.araujosetmessageid: <>
2012-01-16 16:23:33eric.araujolinkissue11805 messages
2012-01-16 16:23:33eric.araujocreate