On 27/02/2012 17:24, Ed Leafe wrote:
> On Feb 27, 2012, at 9:25 AM, Werner F. Bruhin wrote:
>
>> So, I think/guess this:
>>
>> '/usr/local/lib/python2.6/dist-packages/sphinx'
>>
>>
>> should be:
>>
>> '/usr/local/lib/python2.6/dist-packages/sphinx-build'
> Actually, sphinx-build is a script in /usr/local/bin, not a Python
> module, so I changed it to that.
>
> I'm still having problems with makeSphinx.py; I get the error "Error:
> Cannot find source directory" when I run it. But if I run the sphinx-build
> command directly, it seems to run fine for a bit, and then chokes with:
>
> Extension error:
> Could not import extension genGallery
>
> I'm running from the directory with genGallery.py in it, and I can
> import that script from Python, so I'm not sure why it's having a problem.
> I'll look into it more tonight.
You are running from:
...\dabodoc\api\sphinx ?
it contains all makeRST.py, makeSphinx.py which is all from the SVN repo.
That folder should also contain "source" folder which in turn will
contain conf.py and all the .rst generated by makeRST.py.
The above error you get might point to an issue in conf.py, i.e. the
sys.path.append stuff needs to be adjusted.
It also has this "sys.path.append("sphinxext")" which I don't think is
needed any more as the only custom extension 'genGallery.py' is in the
base folder.
All this shows that I should have spent more time on documenting this
more at the time I did it:-( .
Werner
>
>
>
> -- Ed Leafe
>
>
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]