At 12:16 PM 5/3/2006 +1000, John Pye wrote: >Hi all, > >Is there a way I can use distutils to package up a binary distribution >of a SWIG module that has already been created with another build tool? > >In particular, I have a .dll/.so file and a .py file, and they just need >to be dropped in the right place, and I want to use the distutils >'bdist_rpm' / exe builder to then create a distributable.
If the binary module is inside a package, you can treat it as package data. Alternately, you could try subclassing distutils.command.build_ext.build_ext so that it runs your other build tool, and adding that to your custom commands dictionary in setup(). _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
