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:
parent
d1a220aee3
commit
634436adaa
@ -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)
|
||||
|
@ -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'])],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user