Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10489

Re: foo FTBFS with dh-python >= 3.20180313

From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Re: foo FTBFS with dh-python >= 3.20180313
Date 2018-04-30 20:00 +0200
Message-ID <vKlfH-7pM-5@gated-at.bofh.it> (permalink)
References <vILHj-2pl-1@gated-at.bofh.it> <vIM0G-2LO-1@gated-at.bofh.it> <vKg6l-40c-3@gated-at.bofh.it> <vKhvr-4SV-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: foo FTBFS with dh-python >= 3.20180313 Piotr Ożarowski <piotr@debian.org> - 2018-04-26 12:10 +0200
  Re: foo FTBFS with dh-python >= 3.20180313 Andreas Tille <andreas@an3as.eu> - 2018-04-30 14:30 +0200
    Re: foo FTBFS with dh-python >= 3.20180313 Piotr Ożarowski <piotr@debian.org> - 2018-04-30 16:00 +0200
      Re: foo FTBFS with dh-python >= 3.20180313 Andreas Tille <andreas@an3as.eu> - 2018-04-30 20:00 +0200
        Re: foo FTBFS with dh-python >= 3.20180313 Piotr Ożarowski <piotr@debian.org> - 2018-04-30 20:30 +0200
          Re: foo FTBFS with dh-python >= 3.20180313 Andreas Tille <andreas@an3as.eu> - 2018-04-30 23:20 +0200
            How to make sure PATH is set correctly (Was: foo FTBFS with  dh-python >= 3.20180313) Andreas Tille <andreas@an3as.eu> - 2018-05-07 14:10 +0200

csiph-web