summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/setup.py')
-rwxr-xr-xsource4/lib/tdb/setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/tdb/setup.py b/source4/lib/tdb/setup.py
index c0a952d657..8be0c67e0b 100755
--- a/source4/lib/tdb/setup.py
+++ b/source4/lib/tdb/setup.py
@@ -5,6 +5,7 @@ from distutils.extension import Extension
setup(name='tdb',
version='1.0',
url="http://tdb.samba.org/",
- ext_modules=[Extension('_tdb', ['tdb.i'], include_dirs=['include'],
- library_dirs=["."], libraries=['tdb'], swig_opts=["-keyword"])],
+ py_modules=["tdb"],
+ ext_modules=[Extension('_tdb', ['tdb_wrap.c'], include_dirs=['include'],
+ library_dirs=["."], libraries=['tdb'])],
)