[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ‘dh’ invoking Python 2 ‘pyversions’ in a Python 3-only package



[Scott Kitterman, 2014-03-30]
> Using pybuild should do it.
> 
> dh $@ --with python3 --buildsystem=pybuild
> 
> That will avoid the assumption that python2 should be attempted.

FTR: --with python2 tells debhelper that it should run dh_python2 and
nothing else.

pybuild is checking for python or python-all or python-all-dev or
python-all-dbg in Buil-Depends in order to determine if it should try to
build for Python 2.X. --with python2 has nothing to do with it.
I want to keep pybuild helper-agnostic, if you want to use dh_pysupport
or take care of bytecompilation, etc. yourself, you can still use pybuild.
-- 
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


Reply to: