
h at realh
Jul 10, 2009, 10:43 AM
Post #3 of 3
(234 views)
Permalink
|
|
Re: Running a script to build docs from setup.py
[In reply to]
|
|
On Fri, 10 Jul 2009 11:06:34 +1000 Ben Finney <ben+python [at] benfinney> wrote: > Tony Houghton <h [at] realh> 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? > > Indirectly related: Ian Bicking's article on using Python's ‘setup.py’ > as a ‘Makefile’ replacement: > > <URL:http://blog.ianbicking.org/pythons-makefile.html> Thanks, but I don't think that adds much to the distutils manual. > If one is writing a ‘setup.py’ anyway, I think it makes sense to use > that as the build program for the whole project if possible. Good > hunting! Yes. Really I only want to write a setup.py because it makes it easier to make a debian package, but the more of the installation that's done by setup.py the better I suppose, then other people might find it useful. -- TH * http://www.realh.co.uk -- http://mail.python.org/mailman/listinfo/python-list
|