building an extension module with autotools?

Christian Heimes lists at cheimes.de
Wed Dec 3 17:59:23 EST 2008


Gerhard Häring wrote:
> #!/bin/sh
> python setup.py build
> cp build/lib.*/*.so .
> python test.py

"python setup.py build_ext -i" is your friend. It installs the 
extensions inplace. No need for cp here. :)

Christian




More information about the Python-list mailing list