Hi, I'm playing lately with distutils (on the 2.7a branch). This "sudden" interest has been triggered by the python bugs: http://bugs.python.org/issue5941 http://bugs.python.org/issue5940 What I've found (IMHO) is the lack of proper logging while stepping through all the loops inside the code. In fact distutils.log (the log module used internally) It is loosely written resembling the logging python module but missing the full elegance in the api: is there any reason it could not be made very similar to it? I think this is one of the reason is not more deeply spread into the distutils package (a useful tool in diagnostic, IMHO). Because I'm out of work at the moment (It might not last forever tough) I can do it if there is any interest and send a patch set to be reviewed. Beside this to the people interested I can provide a binary compiled python version with the patches hosted on the suse build server system: http://download.opensuse.org/repositories/home:/cavallo71:/python-opt/ This is totally system transparent so it can be installed and de-installed without impact on the host system. Let me know your toughts please, Antonio cavallo
On Wed, May 6, 2009 at 12:36 PM, A. Cavallo <a.cavallo@cavallinux.eu> wrote:
Hi, I'm playing lately with distutils (on the 2.7a branch).
This "sudden" interest has been triggered by the python bugs:
http://bugs.python.org/issue5941 http://bugs.python.org/issue5940
What I've found (IMHO) is the lack of proper logging while stepping through all the loops inside the code.
In fact distutils.log (the log module used internally) It is loosely written resembling the logging python module but missing the full elegance in the api: is there any reason it could not be made very similar to it?
In fact the goal is to replace it with logging calls. It was created with this in mind
I think this is one of the reason is not more deeply spread into the distutils package (a useful tool in diagnostic, IMHO).
Because I'm out of work at the moment (It might not last forever tough) I can do it if there is any interest and send a patch set to be reviewed.
Sure that would be awesome ! We started this work a while ago, http://bugs.python.org/issue3992 you might want to check the latest patch and take it from here, the I can review it and commit it Tarek -- Tarek Ziadé | http://ziade.org
participants (2)
-
A. Cavallo
-
Tarek Ziadé