r26114: Allow keyword-arguments.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 25 Nov 2007 14:34:12 +0000 (15:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:46:09 +0000 (05:46 +0100)
(This used to be commit 99c342641b865e37c9ee8dd280348b659076d1e5)

source4/lib/ldb/setup.py
source4/lib/tdb/setup.py
source4/scripting/python/config.mk

index 47326e2faeca670328cc3f1c71cb76670888f677..77b54f434d49424f53d974582c84896333d4653f 100755 (executable)
@@ -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'])],
       )
index 6b5ecc24ab6169a87fb4459f436475f82df24bf3..c0a952d65782ea27e7222e045ff8eef7aa7f1f98 100755 (executable)
@@ -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"])],
 )
index c1760772672efca0e2b1d0243364849494f5a073..eb359194509b84e76e891eb5a3b88cf3321e34fb 100644 (file)
@@ -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"