Making python module using Borland C++ 5

Gerhard Haering gh at ghaering.de
Wed Apr 9 05:28:23 EDT 2003


Rami Saarinen wrote:
> Anton Vredegoor wrote:
>>> ImportError: dynamic module does not define init function (initpyclips)
>>
>> Please have a look at:
>>
>> http://www.cyberus.ca/~g_will/pyExtenDL.shtml
>>
> I finally managed to build the module using bcpp. Thank you Anton and 
> Anders. It was all about including the EXPORT initpyclips=_initpyclips 
> in a def file (see the link above).

Why don't you just use disutils? It will work without any further setup, 
then. All you need to read is the part of the Python documentation about 
using non-MS compilers on Windows.

-- Gerhard







More information about the Python-list mailing list