make or similar in Python

Nathan Froyd nathan.froyd at rose-hulman.edu
Wed Jul 7 19:26:57 EDT 1999


kernr at mail.ncifcrf.gov (Robert Kern) writes:
> On Wed, 07 Jul 1999 13:39:42 -0400, Greg Wilson <gvwilson at nevex.com>
> wrote:
> >Hi, folks.  Has anyone ever written a dependency management/update tool
> >(like 'make') in Python?
> >I'm not looking for something that reads makefiles, and happens to be
> >written in Python; I'm looking
> >for a Python module that users import, then provide data to, in order to
> >manage dependencies.  (The
> >answer I got from the Perl crowd was 'cool idea, but no'; I'm hoping
> >I'll have more luck here.)
> >Thanks,
> >Greg (who'd really, really like to override some of the things that
> >GNU make does)
> 
> Check out
> ftp://ftp.python.org/pub/python/contrib/System/pymake-0.1-sb.tar.gz
> You will probably have to hack it up a bit to do exactly what you
> want, but it's probably a really good start.

If you're not tied down to Python (or you're looking for a coding
challenge), there's a tool written in Perl called 'cons' that purports to
eliminate make and whose 'Makefiles' are actual Perl programs. You might
take a look at that and adapt it to your needs.
-- 
Nathan  |  froydnj at rose-hulman.edu  |  http://www.rose-hulman.edu/~froydnj/

Evolution is a million line computer program falling into place by accident.




More information about the Python-list mailing list