1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

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

This commit is contained in:
Jelmer Vernooij 2007-11-25 02:29:59 +01:00 committed by Stefan Metzmacher
parent d1a220aee3
commit 634436adaa
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'])],
)