Bo Peng <[EMAIL PROTECTED]> writes: > > Dear list, > > configure.py was first written as a direct translation of the > configure.m4 file. It is not structured, and use all global variables. > Attached is a more pythonic version. It is the first step towards my > goal of automatic partial re-configuration. > > The diff will be difficult to read so I attach configure.py as well. > > Please apply and test it. > Bo
Hi, Bo. Just a thought, but rather than hard code the formating of the "Format" and "Converter" entries, so: rc_entry = [ r'\Format agr agr Grace "" "%%" "%%"'] why not define rc_format_entry and rc_converter_entry functions, to be used so: rc_format_entry('agr', 'agr', 'Grace', '', '%%', '%%') rc_converter_entry('literate', 'lyx', '%%', '') Other than that, this thing is looking GOOD! Angus