From c0650abe866625d3b98bfa7be7fbade16e8fb7bb Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Tue, 26 Apr 2011 17:34:23 +1000 Subject: [PATCH] Another fix for relative paths in the Python build: setup.py wants to own the tree. --- lang/python/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/python/setup.py b/lang/python/setup.py index d42063e3c3a..5786c404faa 100644 --- a/lang/python/setup.py +++ b/lang/python/setup.py @@ -9,7 +9,8 @@ if not 'ARCHFLAGS' in os.environ: dir = os.path.dirname(__file__) setup(name='wiredtiger', version='1.0', - ext_modules=[Extension('_wiredtiger', ['wiredtiger_wrap.c'], + ext_modules=[Extension('_wiredtiger', + [os.path.join(dir, 'wiredtiger_wrap.c')], include_dirs=['.'], library_dirs=['.'], libraries=['wiredtiger'],