Well, it seems this "solution" works but maybe there is something simple:
Inside sphinx Makefile use: SPHINXBUILD = /home/jpedro/sage/sage -python /home/jpedro/all/meg/meg-0.2/doc/sphinx-build where file sphinx-build file is a copy # -*- coding: utf-8 -*- """ Sphinx - Python documentation toolchain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ import sys if __name__ == '__main__': from sphinx import main sys.exit(main(sys.argv)) #END -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org