27 Sep
2008
27 Sep
'08
11:25 p.m.
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
.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