[Zope-Coders] How to use yacc and lex with DistUtils

Andreas Jung andreas@andreas-jung.com
Thu, 4 Apr 2002 21:21:31 -0500


I have a foo.yac file and need to run yacc and flex inside setup.py
to create the corresponding C file before it can get compiled by 
DistUtils. What is the best way perform that task with DistUtils.
I have seen some automatism for SWIG .i files but nothing for
.yac files.

Andreas