[Distutils] build a wheel with waf instead of setuptools
David Cournapeau
cournape at gmail.com
Fri Aug 1 08:45:37 CEST 2014
That's certainly possible, bento does exactly this. You would write a
setup.py that would like like:
import setuptools
from bento.distutils.monkey_patch import monkey_patch
monkey_patch()
setuptools.setup()
then you can do python setup.py install/build/sdist/etc... without actually
using distutils.
David
On Wed, Jul 30, 2014 at 8:46 AM, Chris Barker <chris.barker at noaa.gov> wrote:
> On Fri, Jul 25, 2014 at 7:21 AM, Daniel Holth <dholth at gmail.com> wrote:
>
>> > This kind of thing will require us to implement a flag that tells pip
>> > "setup.py cannot install; go through wheel" which is somewhere in the
>> > plans..
>>
>
> couldn't you write a file called "setup.py", with the core API (i.e
> setup.py build | install), but that called waf instead of distutils to do
> the actual work?
>
> or does pip doe more than simply call the setup.py script?
>
> -Chris
>
>
>
>
>
>> > I don’t think there is any plans to tell pip *not* to use a setup.py
>> and to
>> > use a Wheel instead. Rather I think the plans are to enable pluggable
>> > builders so that a sdist 2.0 package doesn’t rely on setup.py and could
>> use
>> > a waf builder (for instance) plugin.
>>
>> Just a flag that tells pip it can't use the "install" command and has
>> to do package -> install package on an sdist.
>> _______________________________________________
>> Distutils-SIG maillist - Distutils-SIG at python.org
>> https://mail.python.org/mailman/listinfo/distutils-sig
>>
>
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker at noaa.gov
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140801/a90c1cc5/attachment.html>
More information about the Distutils-SIG
mailing list