Hi, sorry for the confusion.
On Wed, May 21, 2014 at 01:02:23PM +0200, Jakub Wilk wrote: > * Piotr Ożarowski <pi...@debian.org>, 2014-05-21, 11:14: > >> > >> svn://anonscm.debian.org/debian-med/trunk/packages/python-biom-format/trunk/ > >> > >>Unfortunately the new version has a problem when it comes to > >>build the documentation. Either does not find the biom Python > >>module or since I adapted the packaging to dh_python using > >>--buildsystem=pybuild in debian/rules I get > >> > >> Makefile:50: recipe for target 'singlehtml' failed > > > >I cannot reproduce it. It FTBFS due to "ImportError: No module > >named biom" while trying to build docs, though. I've git the later error when using plain debuild while having python-biom-format installed. I can confirm that the ImportError is the problem I get in pbuilder. > s/not// :-P The error is: > > sphinx-build -b singlehtml -d _build/doctrees -W . _build/singlehtml > Making output directory... > Running Sphinx v1.2.2 > > Exception occurred: > File "conf.py", line 17, in <module> > import biom > ImportError: No module named biom > The full traceback has been saved in /tmp/sphinx-err-bzenOM.log, if you want > to report the issue to the developers. > Please also report this if it was a user error, so that a better error > message can be provided next time. > A bug report can be filed in the tracker at > <https://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks! > Makefile:50: recipe for target 'singlehtml' failed Yes, that's the problem we need to solve first. > So, is there a sane way to make pybuild run an arbitrary command > with default version of python, and with PYTHONPATH set to the build > directory? > > One insane way is to abuse the --test option: > > pyrun = DEB_BUILD_OPTIONS= pybuild -s custom -p $(shell pyversions -dv) > --test --test-args > [...] > $(pyrun) 'make --directory=doc singlehtml' # eww! Well, if there is no other suggestion for a not so insane solution I might try this. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140521130938.gd17...@an3as.eu