On Tue, Jun 30, 2009 at 05:46:17PM +0200, Stéfan van der Walt wrote: > 2009/6/30 Chris Withers <ch...@simplistix.co.uk>: > >> http://pypi.python.org/pypi/SetupDocs/1.0.2
> > This doesn't look like it uses Sphinx... > > What does it use? > It uses Sphinx (at least, I see Sphinx mentioned many times in the sources). > After installing SetupDocs, you should be able to do something like > from setuptools.command.develop import develop > class MyBuild(distbuild): > def run(self): > distbuild.run(self) > self.run_command('build_docs') > setup( > ... > 'build': MyBuild, > ) You can see a simplified version of that idea at: http://bazaar.launchpad.net/~nipy-developers/nipy/gael-tmp/annotate/head%3A/setup.py The setup.cfg is important too. This does not make use of setuptools, just distutils and sphinx. Gaël --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---