amk> Supply a cmd_class argument to setup(), like this: amk> setup(name = ..., amk> cmdclass = {'build_py': qx_build_py}, amk> ) Much appreciated. I'll see if there's something missing in the docs or if I just missed what is already there. S