[Distutils] C extension modules

Torsten Mohr tmohr at s.netic.de
Mon Jan 25 23:22:17 CET 2010


i'm not sure if this is the preferred way to get help.  If it is not, can you 
then please tell me how?

I write a C++ extension module in which i need to tell if i compile on Linux 
or Windows.  What is the preferred way to do this?

Also, i use libjpeg, libtiff and libpng.  Can i portably test for presence and 
version of these libs on Linux, Windows and other OSes?

The documentation on docs.python.org is quite good, but are there some 
additional examples available?

Thanks for any hints,

More information about the Distutils-SIG mailing list