Including a pyd directly in a setup.py file

Posted by Philippe Beaudoin on Stack Overflow See other posts from Stack Overflow or by Philippe Beaudoin
Published on 2010-04-10T06:37:31Z Indexed on 2010/04/10 6:43 UTC
Read the original article Hit count: 433

Filed under:
|

I have a complex build process to generate a couple of python extension modules (.pyd). I want to include these in my setup.py for use with distutils. The distutils page talks in length about how to add extension modules from source, but I'd want to simply package these precompiled .pyd. What is the best practice to do this?

Eventually, I'd also like to freeze everything in an executable with py2exe. Will I be able to do this if I directly specify the .pyd?

© Stack Overflow or respective owner

Related posts about python

Related posts about distutils