[Thomas Goirand, 2012-01-08]
> override_dh_python2:
>       dh_python2
>       dh_python2 --skip-private /usr/lib/xcp


override_dh_python2:
        dh_python2
        dh_python2 /usr/lib/xcp

is the way to go (assuming "xcp" is *not* binary package name, otherwise
extra call is not needed at all). dh_python2 is checking some private
directories by default (see manpage for details) - if you want to use
different options for these directories (f.e. if public modules support
Python >= 2.4 and private ones Python >= 2.6), use --skip-private like
this:

override_dh_python2:
        dh_python2 --skip-private
        dh_python2 /usr/lib/xcp

(assuming "xcp" is binary package name)
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120108163525.ga23...@piotro.eu

Reply via email to