summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/setup.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-28 01:20:00 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:37 +0100
commit7ab84481d6b0bee4d1820d9e70950fa126e5269c (patch)
treedc1c476305870175d6beb40510a0261dbc30da1f /source4/lib/tdb/setup.py
parente12c724f07f087bb969ca4fb3639a77b78858de6 (diff)
downloadsamba-7ab84481d6b0bee4d1820d9e70950fa126e5269c.tar.gz
samba-7ab84481d6b0bee4d1820d9e70950fa126e5269c.tar.bz2
samba-7ab84481d6b0bee4d1820d9e70950fa126e5269c.zip
r26180: Allow prebuilding swig output files.
(This used to be commit 52106ad04edc3e80e3e3feb8d4b2d4e9e945cbbb)
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'])],
)