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:
committed by
Stefan Metzmacher
parent
f6d91ea2e2
commit
e30c3d9684
@@ -222,3 +222,10 @@ etags:
|
|||||||
|
|
||||||
ctags:
|
ctags:
|
||||||
ctags `find $(srcdir) -name "*.[ch]"`
|
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
|
#!/usr/bin/python
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
from distutils.extension import Extension
|
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'],
|
ext_modules=[Extension('_ldb', ['ldb.i'], include_dirs=['include'],
|
||||||
libraries=['ldb','ldap'])],
|
libraries=['ldb','ldap'])],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user