Problem building extension sample with Python 2.2.3

Gerhard Häring gh at ghaering.de
Tue Jul 22 00:08:52 CEST 2003


Bren wrote:
> Hi, 
> 
> I'm trying to build the sample extension file from
> http://www.python.org/doc/current/ext/simpleExample.html.
> 
> I get a linker error: [...]

Use distutils.

See http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66509

Then use "python setup.py build" to build the extension module.

HTH,

-- Gerhard





More information about the Python-list mailing list