jhayes schrieb:
> Btw, what is the sphinx-build exe actually doing? If I knew what it
> was doing under-the-hood, or could get the source to it, then I could
> probably fenangle it to work with our stuff.
sphinx-build simply invokes the main function in the sphinx package.
The equivalent (sphinx-build.py in the source distribution) is
import sys
if __name__ == '__main__':
from sphinx import main
sys.exit(main(sys.argv))
So, if you can trick your embedded interpreter into importing and then
running that function with the command line you're calling sphinx-build
with as a list (don't forget, the first element is the program name),
you should be fine.
cheers,
Georg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---