1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

r26105: Add targets for building and installing the python bindings.

(This used to be commit 634436adaa)
This commit is contained in:
Jelmer Vernooij
2007-11-25 02:29:59 +01:00
committed by Stefan Metzmacher
parent f6d91ea2e2
commit e30c3d9684
2 changed files with 15 additions and 2 deletions

View File

@@ -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)

View File

@@ -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'])],
)