Help: makefile in Windows

Scott David Daniels Scott.Daniels at Acm.Org
Thu Feb 12 22:40:33 CET 2009


Muddy Coder wrote:
> Hi Folks,
> 
> I am learning Extending Python, by testing the demo script of
> Programming Python. In the book, a makefile for Linux is there, but I
> am using Windows currently. I wish somebody would help me to get a
> makefile for Windows, my makefile.linux is as below:

Use distutils, and write a setup.py.  You will want to use mingw32.
Searching for "building python25 C extensions mingw32" should point you
right.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list