<div dir="ltr">Hi Jan,<div><br></div><div style>This change doesn't work for me:</div><div style><br></div><div style><div>../bin/cctbx.python /opt/local/bin/sphinx-build -b coverage -d _build/doctrees -D latex_paper_size=a4 . _build/coverage</div>
<div>Traceback (most recent call last):</div><div> File "/opt/local/bin/sphinx-build", line 5, in <module></div><div> from pkg_resources import load_entry_point</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module></div>
<div> working_set.require(__requires__)</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require</div><div> needed = self.resolve(parse_requirements(requirements))</div>
<div> File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve</div><div> raise DistributionNotFound(req) # XXX put more info here</div><div>
pkg_resources.DistributionNotFound: Sphinx==1.1.3</div>
<div>make: *** [coverage] Error 1</div><div><br></div><div style>Cheers,</div><div style><br>Richard</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 April 2013 14:11, Jan Marten Simons <span dir="ltr"><<a href="mailto:marten@xtal.rwth-aachen.de" target="_blank">marten@xtal.rwth-aachen.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Freitag 19 April 2013 22:37:06 schrieb James Stroud:<br>
<div class="im">> On Apr 19, 2013, at 2:09 PM, Richard Gildea wrote:<br>
> > Hi Jan,<br>
> ><br>
> > I think the cause of the incomplete documentation is down to the fact<br>
> > that when I run build_docs.sh I get a whole bunch of import errors for<br>
> > every compiled module that it tries to import. I am at a bit of a loss<br>
> > as to why this should be the case, as running the tests or importing<br>
> > modules at the command line works just fine. I have built cctbx using<br>
> > the system python (2.7.2) on mac os x (mountain lion).<br>
><br>
> It looks like sphinx-build is not using cctbx.python, so it has no idea<br>
> from where to import the python modules. Try this<br>
<br>
</div>I've modified the Makefile for sphinx so it should try to use cctbx.python as<br>
interpreter.<br>
<br>
Hopefully this also works on macosX.<br>
<br>
Cheers,<br>
Jan<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>