svn commit: samba r26105 - in branches/SAMBA_4_0/source/lib/ldb: .
jelmer at samba.org
jelmer at samba.org
Sun Nov 25 02:30:00 GMT 2007
Author: jelmer
Date: 2007-11-25 02:29:59 +0000 (Sun, 25 Nov 2007)
New Revision: 26105
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26105
Log:
Add targets for building and installing the python bindings.
Modified:
branches/SAMBA_4_0/source/lib/ldb/Makefile.in
branches/SAMBA_4_0/source/lib/ldb/setup.py
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/Makefile.in 2007-11-23 16:02:27 UTC (rev 26104)
+++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in 2007-11-25 02:29:59 UTC (rev 26105)
@@ -222,3 +222,10 @@
ctags:
ctags `find $(srcdir) -name "*.[ch]"`
+
+# Python bindings
+build-python:
+ ./setup.py build
+
+install-python:
+ ./setup.py install --prefix=$(prefix)
Modified: branches/SAMBA_4_0/source/lib/ldb/setup.py
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/setup.py 2007-11-23 16:02:27 UTC (rev 26104)
+++ branches/SAMBA_4_0/source/lib/ldb/setup.py 2007-11-25 02:29:59 UTC (rev 26105)
@@ -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 at samba.org",
+ license="LGPLv3",
+ keywords=["ldap","ldb","db","ldif"],
ext_modules=[Extension('_ldb', ['ldb.i'], include_dirs=['include'],
libraries=['ldb','ldap'])],
)
More information about the samba-cvs
mailing list