[Debian-med-packaging] Bug#894213: foo FTBFS with dh-python >= 3.20180313

Andreas Tille andreas at an3as.eu
Mon Apr 30 18:52:10 BST 2018


On Mon, Apr 30, 2018 at 03:57:51PM +0200, Piotr Ożarowski wrote:
> [Andreas Tille, 2018-04-30]
> > >  PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) ...
> > I tried the same trick for snakemake in Git[1] but failed.
> > 
> > Am I missing something?
> 
> you changed PYTHONPATH, but PATH still hardcodes old path, I'd start
> with that.

Hmmm, inside pbuilder chroot the files are installed to

  /build/snakemake-4.8.0/.pybuild/cpython3_3.6_snakemake/build/bin/snakemake

while

  # pybuild --print build_dir --interpreter python3
  /build/snakemake-4.8.0/.pybuild/cpython3_3.6/build

I have no idea why since some dh-python version things are different
than before but wouldn't it be the best idea to let pybuild set PATH and
PYTHONPATH instead of setting it manually by some manual command?

Kind regards

        Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list