Re: [Distutils] build a wheel with waf instead of setuptools

2014-08-01 Thread David Cournapeau
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

Re: [Distutils] build a wheel with waf instead of setuptools

2014-07-30 Thread Chris Barker
On Fri, Jul 25, 2014 at 7:21 AM, Daniel Holth dho...@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

Re: [Distutils] build a wheel with waf instead of setuptools

2014-07-30 Thread Daniel Holth
Pip compatibility is very useful, so I was thinking about doing something like that. Along with using setup-requires-dist to download an appropriately forked waf: https://bitbucket.org/dholth/setup-requires . Then a little boilerplate code later you have a non-distutils package build without

Re: [Distutils] build a wheel with waf instead of setuptools

2014-07-25 Thread Daniel Holth
On Fri, Jul 25, 2014 at 5:51 AM, Daniel Holth dho...@gmail.com wrote: Here's a little something I cooked up based on the waf (a build system) playground/package example. It's a build script for wheel (what else) that builds a .whl for wheel when you run waf configure and then waf package with

Re: [Distutils] build a wheel with waf instead of setuptools

2014-07-25 Thread Donald Stufft
On July 25, 2014 at 10:03:01 AM, Daniel Holth (dho...@gmail.com) wrote: On Fri, Jul 25, 2014 at 5:51 AM, Daniel Holth dho...@gmail.com wrote:  Here's a little something I cooked up based on the waf (a build  system) playground/package example. It's a build script for wheel  (what else) that

Re: [Distutils] build a wheel with waf instead of setuptools

2014-07-25 Thread Daniel Holth
On Fri, Jul 25, 2014 at 10:20 AM, Donald Stufft don...@stufft.io wrote: On July 25, 2014 at 10:03:01 AM, Daniel Holth (dho...@gmail.com) wrote: On Fri, Jul 25, 2014 at 5:51 AM, Daniel Holth dho...@gmail.com wrote: Here's a little something I cooked up based on the waf (a build system)