Re: debian/rules for packages using Cython

2013-11-13 Thread Tim Michelsen
> Please address your packaging questions to mailing list, either where > this thread started. > Or on debian mentors. Oops one wrong button. > If one is using dh(1), one should read how it works at dh(1) > It accurately describes how that works, and how to override specific targets. Thanks for no

Re: debian/rules for packages using Cython

2013-11-13 Thread Dmitrijs Ledkovs
On 13 November 2013 19:42, Tim Michelsen wrote: >> Either don't use pybuild at clean stage with launchpad recipes, > How do I disable pybuild cleaning? > Please address your packaging questions to mailing list, either where this thread started. Or on debian mentors. If one is using dh(1), one sh

Re: debian/rules for packages using Cython

2013-11-12 Thread Dmitrijs Ledkovs
On 12 November 2013 22:54, Tim Michelsen wrote: >> This one is not use pybuild at clean, but rather python_distutils >> >> "dh clean --buildsystem=python_distutils" > OK, but where can I find an example on how to configure the > corresponding pybuild-based rule correctly? > > Sorry, I am lost here

Re: debian/rules for packages using Cython

2013-11-12 Thread Tim Michelsen
> This one is not use pybuild at clean, but rather python_distutils > > "dh clean --buildsystem=python_distutils" OK, but where can I find an example on how to configure the corresponding pybuild-based rule correctly? Sorry, I am lost here. And this packaging is full of style rules but no troubl

Re: debian/rules for packages using Cython

2013-11-12 Thread Dmitrijs Ledkovs
On 12 November 2013 21:56, Tim Michelsen wrote: multiple other packages? I recommend pybuild for sanity. >>> OK, I followed that style guie but still get failures in the build: >>> >>> dpkg-source -i -I --before-build recipe-1.0.1~ppa7~revno-{revno} >> >> oh, paths with "{foo}" will not work

Re: debian/rules for packages using Cython

2013-11-12 Thread Tim Michelsen
>>> multiple other packages? I recommend pybuild for sanity. >> OK, I followed that style guie but still get failures in the build: >> >> dpkg-source -i -I --before-build recipe-1.0.1~ppa7~revno-{revno} > > oh, paths with "{foo}" will not work, sorry (will be fixed in next > dh-python upload). I

Re: debian/rules for packages using Cython

2013-11-12 Thread Piotr Ożarowski
[Tim Michelsen, 2013-11-12] > > That's crazily complicated and looks like it's been cargo-culted from > > multiple other packages? I recommend pybuild for sanity. > OK, I followed that style guie but still get failures in the build: > > dpkg-source -i -I --before-build recipe-1.0.1~ppa7~revno-{re

Re: debian/rules for packages using Cython

2013-11-12 Thread Tim Michelsen
> That's crazily complicated and looks like it's been cargo-culted from > multiple other packages? I recommend pybuild for sanity. OK, I followed that style guie but still get failures in the build: dpkg-source -i -I --before-build recipe-1.0.1~ppa7~revno-{revno} fakeroot debian/rules clean debi

Re: debian/rules for packages using Cython

2013-11-06 Thread Julian Taylor
On 06.11.2013 22:54, Tim Michelsen wrote: >> https://wiki.debian.org/Python/LibraryStyleGuide > Sorry, but I cannot see a place where I could find a hint on how to > include the cypthon rules. > A little push would be very nice. what is the error? cythoning is often just running cython file.pyx i

Re: debian/rules for packages using Cython

2013-11-06 Thread Tim Michelsen
thanks a lot for asnwering. really appreciate it! > Generally the best thing is to run cython from setup.py May I ask to provide me with an example of how such rule would look like? >> I am using this rules file: >> http://bazaar.launchpad.net/~pythonxy/pythonxy-upstream-debian/python-fiona_debia

Re: debian/rules for packages using Cython

2013-11-06 Thread Stefano Rivera
Hi Tim (2013.11.06_02:01:39_+0200) > I am trying to package a library that contains some cython code in a > ./src folder. Generally the best thing is to run cython from setup.py > I am using this rules file: > http://bazaar.launchpad.net/~pythonxy/pythonxy-upstream-debian/python-fiona_debian/view

debian/rules for packages using Cython

2013-11-05 Thread Tim Michelsen
Hello, I am trying to package a library that contains some cython code in a ./src folder. I am using this rules file: http://bazaar.launchpad.net/~pythonxy/pythonxy-upstream-debian/python-fiona_debian/view/head:/rules But my Launchpad builds always fail. Could someone please help me or provide m