[Distutils] People want CPAN

Tarek Ziadé ziade.tarek at gmail.com
Fri Nov 13 13:46:37 CET 2009


On Fri, Nov 13, 2009 at 1:18 PM, Floris Bruynooghe
<floris.bruynooghe at gmail.com> wrote:
[..]
>> Is that scraping, or just preparing finalized options using "configure" ?
>> Meaning other command would just have to get them when they run, if present ?
>>
>> How would that work ? configure would create a file ?
>
> That would be the obvious solution.  Both autoconf and CPAN do this by
> my understanding so it's a pretty logical thing to do.

I find it logical too now.

[..]
> Would it not be harder to add new command (or "build tasks") that
> require information from the configure step in you structure it like
> this?
>

I was thinking about an API that would allow any command to read/write
the configuration data,
and using it from the "configure" command to write it, and from the
others to read it.

That would allow including this new behaviour in existing commands
with a deprecation step
(in today's distutils, a build is triggered when you call install in
any case, when there are some extensions)

Tarek


More information about the Distutils-SIG mailing list