Install libraries to a private directory, with Debhelper, Pybuild, dh_python2, dh_python3

2015-08-31 Thread Ben Finney
Howdy all, The Python packaging page at the Debian wiki says of private libraries: Private modules should be installed in private directory such as /usr/share/packagename/ or /usr/lib/packagename/ […] Example 2: Python application […] Add these three lines: overri

Re: dh_python2+dh_python3

2013-06-11 Thread Piotr Ożarowski
[Vincent Bernat, 2013-06-11] > I just converted a package to add a Python3 package. I expected this to > be as simple as: > > 1. Declaring the package in debian/control and add the appropriate > dependency stuff. > 2. Use dh --with python2,python3 $@. you're missing "--buildsystem=pybuild"

Re: dh_python2+dh_python3

2013-06-11 Thread Barry Warsaw
On Jun 11, 2013, at 09:17 PM, Thomas Kluyver wrote: >This should be somewhat easier using the new pybuild system. Piotr >described it as: Old school non-pybuild way: http://wiki.debian.org/Python/LibraryStyleGuide http://wiki.debian.org/Python/AppStyleGuide (We should really update these guides

Re: dh_python2+dh_python3

2013-06-11 Thread Thomas Kluyver
On 11 June 2013 20:58, Vincent Bernat wrote: > - dh_auto_build has to be overrided to also call each supported Python >3 version "python setup.py build". > - dh_auto_install has to be overrided for the same reason. > - Ditto for dh_auto_clean. > - python-.install and python3-.inst

Re: dh_python2+dh_python3

2013-06-11 Thread Scott Kitterman
Vincent Bernat wrote: >Hi! > >I just converted a package to add a Python3 package. I expected this to >be as simple as: > > 1. Declaring the package in debian/control and add the appropriate >dependency stuff. > 2. Use dh --with python2,python3 $@. > >However, this is more tricky: > > - dh_

dh_python2+dh_python3

2013-06-11 Thread Vincent Bernat
Hi! I just converted a package to add a Python3 package. I expected this to be as simple as: 1. Declaring the package in debian/control and add the appropriate dependency stuff. 2. Use dh --with python2,python3 $@. However, this is more tricky: - dh_auto_build has to be overrided to also