From 73ce4da587c7a9e63c64c4c21e62c9e25fc93466 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Thu, 29 Mar 2012 17:24:45 +0000 Subject: - updated to latest SWIG macros - added __init__.py so generated python module loads --- README | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index d2caad6..9a2de3c 100644 --- a/README +++ b/README @@ -73,9 +73,13 @@ If you do not have the 'standard' version of Python on OS X, you might need to t ./configure --your-flags LDFLAGS="-L/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/" -to find your Python library type: +To find your Python library type: + + locate libpython + +NOTE: The python module will get installed under the main install prefix, so if your install prefix is set to /usr/local, then the python module will get installed to /usr/local/lib/python2.5/site-packages/libxtract/xtract. You may need to add this to your PYTHONPATH environment variable. For example in ~/.bash_profile add: + export PYTHONPATH=/usr/local/lib/python2.7/site-packages -locate libpython Building the Java bindings -------------------------- -- cgit v1.2.3