<div dir="ltr">Hi Jan,<div><br></div><div style>This change doesn&#39;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 &quot;/opt/local/bin/sphinx-build&quot;, line 5, in &lt;module&gt;</div><div>    from pkg_resources import load_entry_point</div><div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py&quot;, line 2603, in &lt;module&gt;</div>

<div>    working_set.require(__requires__)</div><div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py&quot;, line 666, in require</div><div>    needed = self.resolve(parse_requirements(requirements))</div>

<div>  File &quot;/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py&quot;, 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">&lt;<a href="mailto:marten@xtal.rwth-aachen.de" target="_blank">marten@xtal.rwth-aachen.de</a>&gt;</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">&gt; On Apr 19, 2013, at 2:09 PM, Richard Gildea wrote:<br>
&gt; &gt; Hi Jan,<br>
&gt; &gt;<br>
&gt; &gt; I think the cause of the incomplete documentation is down to the fact<br>
&gt; &gt; that when I run build_docs.sh I get a whole bunch of import errors for<br>
&gt; &gt; every compiled module that it tries to import. I am at a bit of a loss<br>
&gt; &gt; as to why this should be the case, as running the tests or importing<br>
&gt; &gt; modules at the command line works just fine. I have built cctbx using<br>
&gt; &gt; the system python (2.7.2) on mac os x (mountain lion).<br>
&gt;<br>
&gt; It looks like sphinx-build is not using cctbx.python, so it has no idea<br>
&gt; from where to import the python modules. Try this<br>
<br>
</div>I&#39;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>