<div dir="ltr"><div>Regarding building the documentation, I was able to figure out that I needed to install sphinx separately. The HACKING.rst.txt file only mentions Numpy Cython and pytest as dependencies.<br></div>I was able to get the make command running with `make html PYVER=3.5`, but I'm getting the follwing error: <br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Could not import extension numpydoc (exception: cannot import name 'Directive')<br></blockquote><div><br></div><div>I'm sure I have the extension installed, since it's listed in the sphinx directory. Any idea what the problem is? <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 April 2018 at 21:51, Ralf Gommers <span dir="ltr"><<a href="mailto:ralf.gommers@gmail.com" target="_blank">ralf.gommers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Apr 24, 2018 at 8:40 AM, Eric Larson <span dir="ltr"><<a href="mailto:larson.eric.d@gmail.com" target="_blank">larson.eric.d@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><ol><li>Since this project will include documentation, I'm trying to build the docs. However, from the Makefile at <span class="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_ m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_1335 m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr-alert m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_spell m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_inline_cards m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_disable_anim_appear m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-ContextualSpelling" id="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-1335">scipy</span>/<span class="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_ m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_1352 m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr-alert m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_gramm m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_inline_cards m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_disable_anim_appear m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-Punctuation m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-only-ins m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-replaceWithoutSep" id="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-1352">doc</span> it appears that python3.6 is required, whereas only python3.5 is available for my platform (Ubuntu 16.04 LTS). I generally try to avoid adding third-party <span class="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_ m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_1786 m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr-alert m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_spell m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_inline_cards m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_disable_anim_appear m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-ContextualSpelling" id="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-1786">repos</span> unless absolutely required, so I am asking for help here. Is installing python3.6 the only solution, or will changing the <span class="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_ m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_2190 m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr-alert m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_spell m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_inline_cards m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-gr_disable_anim_appear m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-ContextualSpelling m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-ins-del m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-multiReplace" id="m_4947519572354009696m_7743272077640259371gmail-m_-2242705758796893214gmail-2190">PYVERS</span> variable in the Makefile work?</li></ol></div></div></blockquote></span><div>I suspect 3.5 should work once you get it to use your Python binaries. I doubt we have anything that is Python-3.6 specific (though there very well be some Python 3-isms that will not work on 2.7).</div></div></div></div></blockquote><div><br></div></span><div>There's a PYVER=3.6 at the top of the Makefile. Simply doing `make html PYVER=3.5` should build the docs with your 3.5 install (if not, change that one line in the Makefile to say 3.5).<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Ralf<br><br></div></font></span></div><br></div></div>
<br>______________________________<wbr>_________________<br>
SciPy-Dev mailing list<br>
<a href="mailto:SciPy-Dev@python.org">SciPy-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scipy-dev</a><br>
<br></blockquote></div><br></div>