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

Re: foo FTBFS with dh-python >= 3.20180313



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


Reply to: