[pylucene-dev] Re: experiences with --shared on Linux
vajda at osafoundation.org
Tue Mar 11 18:46:41 PDT 2008
On Tue, 11 Mar 2008, Bill Janssen wrote:
>> Ahhhh, that's where things get more complicated. setup.py doesn't know about
> Actually, it does. Here's a patch.
Sweet, this is excellent. Thanks !
On my end, I just got the setClassPath() hack to work in terms of JNI calls.
> % svn diff
> Index: jcc/python.py
> --- jcc/python.py (revision 394)
> +++ jcc/python.py (working copy)
> @@ -1323,6 +1323,7 @@
> 'sources': sources
> if shared:
> + args['runtime_library_dirs'] = [os.path.dirname(_jcc.__file__)]
> args['library_dirs'] = [os.path.dirname(_jcc.__file__)]
> args['libraries'] = ['jcc']
More information about the pylucene-dev