[Distutils] Compile Windows64 AMD64

Mowry, Peter peter.mowry at amd.com
Mon May 21 08:11:10 CEST 2007

Thanks for the responses :-).  Sounds like ctypes is a cleaner more
generic extension module of what I was considering to develop manually.

-----Original Message-----
From: Mark Hammond [mailto:mhammond at skippinet.com.au] 
Sent: Sunday, May 20, 2007 8:19 AM
To: Mowry, Peter; distutils-sig at python.org
Subject: RE: [Distutils] Compile Windows64 AMD64

> So I tried ctypes, and it just worked (without any build issues - in
fact I didn't
> have to build anything or write any code).  Is there any reason I'd
want to write 
> an extend python module (to load my shared library and run exported
functions from 
>it) that compiles with distutils, instead of just using ctypes?

If your extension module does exactly what you describe - ie, load
functions from a DLL and calls them, then ctypes is a perfect


More information about the Distutils-SIG mailing list