diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/Makefile.in | 7 | ||||
-rwxr-xr-x | source4/lib/ldb/setup.py | 10 |
2 files changed, 15 insertions, 2 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index 22ad9a20be..a4723f99a5 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -222,3 +222,10 @@ etags: ctags: ctags `find $(srcdir) -name "*.[ch]"` + +# Python bindings +build-python: + ./setup.py build + +install-python: + ./setup.py install --prefix=$(prefix) diff --git a/source4/lib/ldb/setup.py b/source4/lib/ldb/setup.py index da3623315e..bff604d5aa 100755 --- a/source4/lib/ldb/setup.py +++ b/source4/lib/ldb/setup.py @@ -1,8 +1,14 @@ #!/usr/bin/python from distutils.core import setup from distutils.extension import Extension -setup(name='ldb', - version='1.0', + +setup(name="ldb", + version="1.0", + url="http://ldb.samba.org/", + author="LDB Developers", + author_email="ldb@samba.org", + license="LGPLv3", + keywords=["ldap","ldb","db","ldif"], ext_modules=[Extension('_ldb', ['ldb.i'], include_dirs=['include'], libraries=['ldb','ldap'])], ) |