[Python-Dev] Distutils ML wrap-up: setup.cfg new format

Michael Foord fuzzyman at voidspace.org.uk
Tue Sep 22 20:26:42 CEST 2009




--
http://www.ironpythoninaction.com

On 22 Sep 2009, at 19:15, Tarek Ziadé <ziade.tarek at gmail.com> wrote:

> On Tue, Sep 22, 2009 at 4:02 PM, Dirkjan Ochtman  
> <dirkjan at ochtman.nl> wrote:
>> On Tue, Sep 22, 2009 at 15:55, Michael Foord <fuzzyman at voidspace.org.uk 
>> > wrote:
>>> ConfigParser recognises both, but other tools (*coff* ConfigObj)  
>>> only
>>> recognises the latter (=).
>>
>> So does Mercurial, BTW, because this aspect of ConfigParser was  
>> pretty
>> annoying for some of the stuff we try to do (and not at all obvious  
>> to
>> most users, who have never seen anything but = used in config-style
>> files).
>
> yes, I've just used ConfigParser syntax because that's what  
> Distutils uses.
>
> If ':' is deprecated in favor of '=' only, Distutils will be fine with
> that change.
>
> I would be +1 for its deprecation
>

I don't think : is formally deprecated but = is more common and it  
would be great if distutils could default to (and document) this syntax.

Michael



> Tarek
>
> -- 
> Tarek Ziadé | http://ziade.org | オープンソースはすごい!


More information about the Python-Dev mailing list