[Distutils] Custom "build steps"

Mike Olson Mike.Olson@fourthought.com
Sat Mar 3 03:46:05 2001


Paul Prescod wrote:

We do this for IDL and ODL files in 4Suite.  you can check it out in the
DistExt.py.  Its in the admin directory (and installed into Ft.Lib).

Mike

> 
> 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
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

-- 
Mike Olson				 Principal Consultant
mike.olson@fourthought.com               (303)583-9900 x 102
Fourthought, Inc.                         http://Fourthought.com 
Software-engineering, knowledge-management, XML, CORBA, Linux, Python