Hi Andreas, > "/build/snakemake-5.1.5/.pybuild/cpython3_3.6_snakemake/build/tests/tests.py", > line 22, in <module> > raise Exception("snakemake not in PATH. For testing, install snakemake > with " > Exception: snakemake not in PATH. For testing, install snakemake with 'pip > install -e .'. You should do this in a separate environment (via conda or > virtualenv). > > ---------------------------------------------------------------------- > Ran 4 tests in 0.227s > > FAILED (errors=1) > E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: > cd /build/snakemake-5.1.5/.pybuild/cpython3_3.6_snakemake/build; python3.6 > -m nose tests > > > > I think the cause of the issue is that there are two dirs in .pybuild: > > > # ls -l /build/snakemake-5.1.5/.pybuild > total 8 > drwxr-xr-x 3 pbuilder pbuilder 4096 Jun 26 09:20 cpython3_3.6 > drwxr-xr-x 3 pbuilder pbuilder 4096 Jun 26 09:20 cpython3_3.6_snakemake > > > and the latter contains all the installed files while the former is > empty. How can I prevent this?
Deleting PYBUILD_NAME from your debian/rules is sufficient to fix that. When set, that sets HOME to the above directory and the build system for some reason starts using that. And no, I can't explain why that is... There are still 3 test failures; the one I glanced at was a missing build- dep on python3-networkx (and I didn't look further). cheers Stuart -- Stuart Prescott http://www.nanonanonano.net/ stu...@nanonanonano.net Debian Developer http://www.debian.org/ stu...@debian.org GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7