On Tue, 11 Mar 2008, Bill Janssen wrote:

Ahhhh, that's where things get more complicated. setup.py doesn't know about
rpath.

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.

Andi..


% 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']

Bill

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to