[Distutils] waf can be used to compile Python extension modules

Nick Coghlan ncoghlan at gmail.com
Thu Mar 20 05:50:50 CET 2014

On 20 March 2014 09:54, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
> Daniel Holth <dholth <at> gmail.com> writes:
>> extensions without using distutils. The problem of invoking the
>> compiler has been solved by many build systems and is not just a
>> unique and mysterious distutils feature.
> Did someone say it was? Building extensions is something distil does too, and
> without using distutils or setuptools.

Right, the problem is the lack of a standard interface for how the
packaging system is supposed to invoke them - that is, *implementation
independent* docs of what the various setup.py commands are *supposed*
to do.

The packaging system shouldn't have to care *how* setup.py is
implemented, but at the moment, the behaviour is underspecified to the
point where it's a matter of reverse engineering distutils and/or
implementing what seems necessary and waiting to see if people


More information about the Distutils-SIG mailing list