[Distutils] Custom "build steps"

Paul Prescod paulp@ActiveState.com
Fri Mar 2 19:03:01 2001


What's the best way to extend distutils with "custom steps" like a call
to an IDL compiler or an M4 pre-process? I could just put all of the
code in my setup.py but it seems very inelegant and not necessarily
always effective (i.e. what if I have to do a post-process between the
build and install step?) Is there a technique I can use?

-- 
Vote for Your Favorite Python & Perl Programming  
Accomplishments in the first Active Awards! 
http://www.ActiveState.com/Awards