Hi Guys and Gals,
I'm trying to get Sphinx to auto document our modules here at work.
However I'm running into problems with the build.
While I'm testing I've just created a simple py file that imports
pymel, cmds, os, sys. A basic class with some dummy functions and
test doc strings.
in the config,py file I've added pymel, maya(from maya's site-
packages) and the path the my py file.
I've created .rst file for my module
Paths added in the config file are :-
# Paths to my modules
sys.path.append(os.path.abspath("E:\\CODE\\SVN_Branch\\Maya\
\Maya_Modules\\Modules\\CoreLibs\\PyLib"))
sys.path.append(os.path.abspath("E:\\CODE\\SVN_Branch\\Maya\
\Maya_Modules\\Modules\\CoreLibs\\PyLib\\eCore"))
# Pymel path
sys.path.append(os.path.abspath("C:\\ArtPipelines\\App\\Maya2010-
x86"))
# Maya Path
sys.path.append(os.path.abspath("C:\\Program Files (x86)\\Autodesk\
\Maya2010\\Python\\lib\\site-packages"))
index.rst :-
:mod:`eGeneral`
==========================================
.. module:: eGeneral
:synopsis: Test synopsis
.. automodule:: eCore.eGeneral
and linked it into the toctree in index.rst
Contents:
.. toctree::
:maxdepth: 1
modules/eFile.rst
Then I run >>>$sphinx-build . html
and get the followinh error. Can't import/find module
"eCore.eGeneral", DLL load failed: The specified proceedure could not
be found. check the sys.path
I used easy_install and installed sphinx to my system python 2.6. I
wonder if I need to install this to Maya's mayapy.
Anyone got any tips or ideas would be much appreciated.
Thanks people
-Dave
--
http://groups.google.com/group/python_inside_maya