I've set up distutils to build a quixote application. It works fine for sdist and bdist, using qx_build_py in qx_distutils.py - however, trying to build an rpm with bdist_rpm breaks, because build_py.get_module_outfile still assumes everything is a .py file, and is used by bdist_rpm when creating the file list in INSTALLED_FILES. Has anyone dealed with this problem before? I do not know how get_module_outfile could be taught to know whether it is a .py or .ptl file, it looks like it will require some *serious* work, not a quick hack... :( Any ideas? Thanks, Hugo van der Merwe