Re: Running a script to build docs from setup.py

2009-07-10 Thread Tony Houghton
On Fri, 10 Jul 2009 11:06:34 +1000 Ben Finney ben+pyt...@benfinney.id.au wrote: Tony Houghton h...@realh.co.uk writes: I've looked through the manual but I can't find any hooks in distutils for generating files at install time other than extension modules and .pyc files. Should I just

Running a script to build docs from setup.py

2009-07-09 Thread Tony Houghton
I want to write a setup.py script, using distutils, for a python library called ROX-Lib2 (package name rox). The library includes a script to build HTML documentation from the pydoc strings. I'd like to run that script from setup.py but I don't know the best way to do that. I've looked through the

Re: Running a script to build docs from setup.py

2009-07-09 Thread Ben Finney
Tony Houghton h...@realh.co.uk writes: I've looked through the manual but I can't find any hooks in distutils for generating files at install time other than extension modules and .pyc files. Should I just run the script from somewhere in my setup.py before calling distutils' setup function?