Running a script to build docs from

Ben Finney ben+python at
Fri Jul 10 03:06:34 CEST 2009

Tony Houghton <h at> 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
> before calling distutils' setup function?

Indirectly related: Ian Bicking's article on using Python's ‘’
as a ‘Makefile’ replacement:


If one is writing a ‘’ anyway, I think it makes sense to use
that as the build program for the whole project if possible. Good

 \     “I have an answering machine in my car. It says, ‘I'm home now. |
  `\  But leave a message and I'll call when I'm out.’” —Steven Wright |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list