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
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to