VERSION: Release Samba 4.6.6 for CVE-2017-11103
[Samba.git] / python / wscript_build
blob5ab0d7d07dc6bbf0789f55ca32efce5ff56319f7
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('samba_python',
4 source=[],
5 deps='LIBPYTHON pytalloc-util pyrpc_util',
6 grouping_library=True,
7 private_library=True,
8 pyembed=True)
10 bld.SAMBA_SUBSYSTEM('LIBPYTHON',
11 source='modules.c',
12 public_deps='',
13 init_function_sentinel='{NULL,NULL}',
14 deps='talloc',
15 pyext=True,
19 bld.SAMBA_PYTHON('python_glue',
20 source='pyglue.c',
21 deps='pyparam_util samba-util netif pytalloc-util',
22 realname='samba/_glue.so'
25 for env in bld.gen_python_environments():
26 # install out various python scripts for use by make test
27 bld.SAMBA_SCRIPT('samba_python_files',
28 pattern='samba/**/*.py',
29 installdir='python')
31 bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat=False)