[Distutils] non-"standard" compilers...

Stefan Seefeld seefeld at sympatico.ca
Sat May 28 19:47:48 CEST 2005

Anthony Baxter wrote:
> On Saturday 28 May 2005 04:27, Stefan Seefeld wrote:

> If you wanted to try writing down exactly what you'd like to see from a 
> newer Extension object in distutils, that would be a good start...

A good starting point would be to make the Extension object polymorphic,
i.e. provide hooks for users to define their own 'config', 'build', 'install',
etc. methods.
Right now it is a mere container of source files and compilation options,
which isn't flexible enough to accomodate for any advanced cases.

Then it should be even possible (and easy) to provide subclasses for the most
typical scenarios, such as an autoconf/make wrapper, another for scons,
bjam (boost.python !), etc.

Does this make sense ?


More information about the Distutils-SIG mailing list