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

Nick Coghlan ncoghlan at gmail.com
Sun Mar 23 01:00:45 CET 2014

On 23 Mar 2014 09:35, "Paul Moore" <p.f.moore at gmail.com> wrote:
> On 22 March 2014 22:37, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
> >> 1. Formally decouple the setup.py CLI from the distutils command system
> >
> > Agreed - it looks like a compatible CLI needs to be part of the
> > to any new system (I assume that's what you meant).
> Does this statement mean "document the exact setup.py invocations
> which need to be supported by any tool" or does it mean "create a new
> standard cli and update pip to use it and sort out a means of wrapping
> existing setup.py scripts to expose it"? If the former, then I've
> informally done that earlier in the thread (basically "setup.py
> bdist_wheel -d XXX" is it[1], if we assume that by the time it's
> official pip will have completed the move to installing from sdist by
> using wheels as an intermediate step). Writing a wrapper setup.py that
> simply invokes a different tool such as bento is trivial.

I mean actually writing it up and documenting all the *build options*
(including cross compilation support). As far as I am aware, that hasn't
been done to date (at least, not in an easily consumable form that people
can link to).


> Paul
> [1] The one exception is editable installations (setup.py develop).
> That's supported by pip, implemented wholly in setuptools, and an
> integral part of many workflows. I don't believe anyone has looked yet
> at what might be needed to decouple that from the
> distutils/setuptools/setup.py infrastructure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140323/eb152b4f/attachment.html>

More information about the Distutils-SIG mailing list