3 bld
.SAMBA_LIBRARY('samba_python',
5 deps
='LIBPYTHON pytalloc-util pyrpc_util',
10 bld
.SAMBA_SUBSYSTEM('LIBPYTHON',
13 init_function_sentinel
='{NULL,NULL}',
19 bld
.SAMBA_PYTHON('python_uuid',
20 source
='uuidmodule.c',
23 enabled
= float(bld
.env
.PYTHON_VERSION
) <= 2.4
27 bld
.SAMBA_PYTHON('python_glue',
29 deps
='pyparam_util samba-util netif pytalloc-util',
30 realname
='samba/_glue.so'
34 # install out various python scripts for use by make test
35 bld
.SAMBA_SCRIPT('samba_python_files',
36 pattern
='samba/**/*.py',
39 bld
.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat
=False)