PyBuild available in raring

Colin Watson cjwatson at ubuntu.com
Fri Jan 25 14:45:16 UTC 2013


On Fri, Jan 25, 2013 at 06:21:19PM +0400, Dmitry Shachnev wrote:
> I want to announce that my yesterday’s python3-defaults upload[1] made
> new “PyBuild” tool (developed by Piotr Ożarowski) available in raring.
> 
> It allows one to easily build packages for both Python 2 and Python 3
> (and also PyPy) by just passing `--buildsystem=pybuild` to debhelper
> commands, and is very configurable (it guesses supported interpreter
> versions by looking at Build-Depends).

This looks like a big improvement, thanks.  However, is it intentional
that it appears to install Python 3 modules to
/usr/lib/python3.X/dist-packages/ by default, rather than
/usr/lib/python3/dist-packages/?

To reproduce, take germinate 2.12 and replace its debian/rules with:

  #! /usr/bin/make -f
  %:
          dh $@ --with python2,python3 --buildsystem=pybuild

Then watch the build failure, preceded and caused by:

      dh_auto_install -O--buildsystem=pybuild
   ...
   running install
   running install_lib
   creating /«PKGBUILDDIR»/debian/tmp/usr/lib/python3.3
   creating /«PKGBUILDDIR»/debian/tmp/usr/lib/python3.3/dist-packages

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the ubuntu-devel mailing list