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

Daniel Holth dholth at gmail.com
Sat Mar 22 01:39:53 CET 2014


I don't think there is a need to be that pessimistic. Most people will even
be able to keep setup.py as is. But when you really should be sidestepping
DistUtils instead of writing a 10k line extension there is a supported path.
On Mar 21, 2014 7:37 PM, "Vinay Sajip" <vinay_sajip at yahoo.co.uk> wrote:

>
>
> > This strategy does not generally try to eliminate arbitrary code
> > execution during builds - builds are an inherently arbitrary-code
> > process. But once the build has happened most installs should work
> > without arbitrary code execution.
>
>
> I don't think builds should be a *completely* arbitrary-code process. I
> understand well that user-defined code should be accommodated, but IMO this
> should be within a declarative framework with well-defined hooks, otherwise
> it will ultimately lead to the same problems that setup.py has.
>
> Regards,
>
> Vinay Sajip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140321/a59eccd1/attachment.html>


More information about the Distutils-SIG mailing list