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

Re: No clue yet for building snakemake since there are two dirs in .pybuild



[Stuart Prescott, 2018-06-26]
> > # 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...

"cpython3_3.6" is used if --name / PYBUILD_NAME is not defined. Name is
added to it to support building multiple modules/extensions at the same
time. If snakemake doesn't invoke pybuild twice (with and without
--name) then existence of cpython3_3.6 (without "_snakemake") is a bug
somewhere in pybuild
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


Reply to: