Tarek, Recently I suggested having setup.py implemented as a class and not a procedure. I posted some notes on http://wiki.python.org/moin/Distutils/Proposals Do you have any comment? David