[Distutils] [Fwd: Re: Annoucing distribute project]

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Sep 28 01:25:41 CEST 2008


Tres Seaver wrote:

> I think a tool which was willing to fake being distutils enough to
> extract information from existing 'setup()' calls would probably be
> enough, myself, so that:
> 
>  $ python <bbb_extractor_script>.py setup.py
> 
> would create the equivalent of PKG_INFO / EGG_INFO on disk, where it
> could then be used to drive the new installer.

It should be possible to emulate the behaviour of distutils
to some extent using the new tool, so it can be invoked
by making a setup() call.

I don't think it could be done by statically introspecting
a setup.py file, since in many cases the only way to find
out what a setup.py does is to execute it.

-- 
Greg


More information about the Distutils-SIG mailing list