[cctbxbb] building sphinx documentation

Jan Marten Simons marten at xtal.rwth-aachen.de
Fri Apr 19 14:11:02 PDT 2013


Am Freitag 19 April 2013 22:37:06 schrieb James Stroud:
> On Apr 19, 2013, at 2:09 PM, Richard Gildea wrote:
> > Hi Jan,
> > 
> > I think the cause of the incomplete documentation is down to the fact
> > that when I run build_docs.sh I get a whole bunch of import errors for
> > every compiled module that it tries to import. I am at a bit of a loss
> > as to why this should be the case, as running the tests or importing
> > modules at the command line works just fine. I have built cctbx using
> > the system python (2.7.2) on mac os x (mountain lion).
> 
> It looks like sphinx-build is not using cctbx.python, so it has no idea
> from where to import the python modules. Try this

I've modified the Makefile for sphinx so it should try to use cctbx.python as 
interpreter.

Hopefully this also works on macosX.

Cheers,
Jan


More information about the cctbxbb mailing list