When does a binary extension gets the file extension '.pyd' and when is it '.so'

Fredrik Lundh fredrik at pythonware.com
Sat Apr 5 10:48:11 CEST 2008

llothar wrote:

> My question was: Why does setup.py generated sometimes a pyd and
> sometimes a so file?

setup.py picks an extension that happens to work on the platform you're 
running setup.py on.  doing otherwise would be pretty pointless.


More information about the Python-list mailing list