Installing python modules in a non-standard way

2015-10-25 Thread Onur Aslan
Hi. I asked this in IRC channel but didn't get a clear answer. I have a library package written in C and it's also providing python wrappers. You can see the package in here: https://anonscm.debian.org/cgit/collab-maint/gumbo-parser.git/ I can't use --buildsystem=pybuild to install python

Re: Installing python modules in a non-standard way

2015-10-25 Thread Andrey Rahmatullin
On Sun, Oct 25, 2015 at 10:37:13AM +0200, Onur Aslan wrote: > I can't use --buildsystem=pybuild to install python wrappers, > this package is not providing a configure script or Makefile. pybuild > is not invoking autoreconf to generate a configure script. I have > to build C library manually if I

Re: Installing python modules in a non-standard way

2015-10-25 Thread Ben Finney
Onur Aslan writes: > I can't use --buildsystem=pybuild to install python wrappers, this > package is not providing a configure script or Makefile. pybuild is > not invoking autoreconf to generate a configure script. Can you add a target to ‘debian/rules’ that will invoke

Re: Installing python modules in a non-standard way

2015-10-25 Thread Andrey Rahmatullin
On Sun, Oct 25, 2015 at 12:39:44PM +0200, Onur Aslan wrote: > > Nothing is invoking autoreconf unless you use --with autoreconf. Are you > > saying that with pybuild this option has no effect? > > I am already using --with autoreconf but when I use: > > dh $@ --with

Re: Installing python modules in a non-standard way

2015-10-25 Thread Onur Aslan
On 2015-10-05, Andrey Rahmatullin wrote: > Nothing is invoking autoreconf unless you use --with autoreconf. Are you > saying that with pybuild this option has no effect? I am already using --with autoreconf but when I use: dh $@ --with autoreconf,python2,python3 --buildsystem=pybuild It's

Re: Installing python modules in a non-standard way

2015-10-25 Thread Dmitry Shachnev
On Sun, Oct 25, 2015 at 04:45:17PM +0500, Andrey Rahmatullin wrote: > Indeed. > In this case I'd use the usual autotools buildsystem and do everything > else manually, without using pybuild. But maybe there are better options. Or maybe try to use both build systems, something like this: