Re: shared library search path

2005-11-03 Thread Neal Becker
Stefan Arentz wrote: > > Hi. I've wrapped a C++ class with Boost.Python and that works great. But, > I am now packaging my application so that it can be distributed. The > structure is basically this: > > .../bin/foo.py > .../lib/foo.so > .../lib/bar.py > > In foo.py I do the following: > >

shared library search path

2005-11-03 Thread Stefan Arentz
Hi. I've wrapped a C++ class with Boost.Python and that works great. But, I am now packaging my application so that it can be distributed. The structure is basically this: .../bin/foo.py .../lib/foo.so .../lib/bar.py In foo.py I do the following: sys.path.append(os.path.dirname(sys.path[0])