summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-25 15:34:12 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:09 +0100
commiteaecbfa0e2703d429b295e51e230545ed8f3462c (patch)
tree6022dffd698cd3ab7dae7bb00bf1bdbe7687dbee /source4
parent08b01dba3df8561e1a8898f1c99a23db387e04cb (diff)
downloadsamba-eaecbfa0e2703d429b295e51e230545ed8f3462c.tar.gz
samba-eaecbfa0e2703d429b295e51e230545ed8f3462c.tar.bz2
samba-eaecbfa0e2703d429b295e51e230545ed8f3462c.zip
r26114: Allow keyword-arguments.
(This used to be commit 99c342641b865e37c9ee8dd280348b659076d1e5)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/lib/ldb/setup.py1
-rwxr-xr-xsource4/lib/tdb/setup.py2
-rw-r--r--source4/scripting/python/config.mk2
3 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/setup.py b/source4/lib/ldb/setup.py
index 47326e2fae..77b54f434d 100755
--- a/source4/lib/ldb/setup.py
+++ b/source4/lib/ldb/setup.py
@@ -10,5 +10,6 @@ setup(name="ldb",
license="LGPLv3",
keywords=["ldap","ldb","db","ldif"],
ext_modules=[Extension('_ldb', ['ldb.i'], include_dirs=['include'],
+ swig_opts=["-keyword"],
library_dirs=["lib"], libraries=['ldb','ldap'])],
)
diff --git a/source4/lib/tdb/setup.py b/source4/lib/tdb/setup.py
index 6b5ecc24ab..c0a952d657 100755
--- a/source4/lib/tdb/setup.py
+++ b/source4/lib/tdb/setup.py
@@ -6,5 +6,5 @@ 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=["-noproxydel"])],
+ library_dirs=["."], libraries=['tdb'], swig_opts=["-keyword"])],
)
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index c176077267..eb35919450 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -20,7 +20,7 @@ swig: pythonmods
.SUFFIXES: _wrap.c .i
.i_wrap.c:
- $(SWIG) -Wall -I$(srcdir)/scripting/swig -python $<
+ $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
clean::
@echo "Removing SWIG output files"