On Wed, Nov 25, 2015 at 02:36:22PM -0700, Orion Poplawski wrote:
> On 11/25/2015 02:13 PM, Orion Poplawski wrote:
>> On 11/25/2015 01:41 PM, Orion Poplawski wrote:
>>> If you use sphinx-build in your package, you need to BR/R
>>> /usr/bin/sphinx-build instead of python-sphinx.
>>>
>>
>> but apparently prematurely as /usr/bin/sphinx-build is not written in python3:
>>
>> sphinx-build -b html -d build/mayavi/doctrees source/mayavi build/mayavi/html
>> Running Sphinx v1.3.1
>> making output directory...
>> Exception occurred:
>> File "/usr/lib/python3.5/site-packages/sphinx/application.py", line
429, in
>> setup_extension
>> mod = __import__(extension, None, None, ['setup'])
>> File
>>
"/builddir/build/BUILD/mayavi-4.4.3/docs/source/mayavi/sphinxext/traitsdoc.py",
line
>> 129
>> print "[numpydoc] Phantom importing modules from", fn,
"..."
>> ^
>> SyntaxError: Missing parentheses in call to 'print'
>>
>>
https://bugzilla.redhat.com/show_bug.cgi?id=1285535
>>
>
> Ah, crap, no it looks like we need to update the sphinx using packages to python3.
Nah, this requires more preparation. I'll revert the change to use
python3 in /usr/bin/sphinx-{build,apidoc,autogen,quickstart}, and
we can try prepare for the switch and do it at some later point.
Thanks. Probably should put these into a sphinx-tools package or similar at
that point.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301