We are working towards converting 4Suite over to use distutils. We are almost there, but have run into a problem. We needed to implement our own parser to generate some files using a script we call BisonGen. This generates both C and py files. Then we hand the C off to build_ext to get compilied. The .so (or pyd) is installed fine. However, the additional py files generated are not copied into the installation directory. Is there a simple way of doing this? Looking through the code, build_ext only uses Extension.name to generate a list of outputs. I've tried a couple of approaches, but all seem to break someother portion of the script (usually bdist --format=rpm). We have the same problem with shadow files generated via swig.....
Help is appreciated.