Subject: Re: py-fann packaging advice requested
To: None <tech-pkg@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 10/05/2006 18:12:03
On Thu, Oct 05, 2006 at 11:18:42AM -0400, Greg Troxel wrote:
>    py-fann grabs /usr/pkg/lib/libdoublefann.a to link with, which is
>    gross (and wrong since it doesn't respect LOCALBASE, but I'd like
>    to just fix it right).  I don't grok python's distutils well enough
>    to pull in a shlib properly with RPATH and everything.  The python
>    docs I found about setting libraries=[] were in conflict with how
>    distutils worked for me.  Can anyone point me to a simple example?

http://docs.python.org/dist/describing-extensions.html#SECTION002340000000000000000
should help you.

Joerg