Another fix for relative paths in the Python build: setup.py wants to own the tree.

This commit is contained in:
Michael Cahill
2011-04-26 17:34:23 +10:00
parent 3a6dc4749e
commit c0650abe86

View File

@@ -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'],