s3: smbd: VFS: fake_acl module called get_full_smb_filename() with a stream path...
[Samba.git] / lib / wscript_build
blob766af49832096d56124ac08c3b206f3692ed0200
1 #!/usr/bin/env python
3 import os, Options
5 # work out what python external libraries we need to install
6 external_libs = {
7 "dns.resolver": "dnspython/dns",
8 "subunit": "subunit/python/subunit",
9 "testtools": "testtools/testtools",
10 "extras": "extras/extras",
11 "mimeparse": "mimeparse/mimeparse",
14 list = []
16 for module, package in external_libs.items():
17 try:
18 __import__(module)
19 except ImportError:
20 list.append(package)
22 for e in list:
23 bld.INSTALL_WILDCARD('${PYTHONARCHDIR}/samba/external', e + '/**/*', flat=False,
24 exclude='*.pyc', trim_path=os.path.dirname(e))
26 bld.SAMBA_GENERATOR('external_init_py',
27 rule='touch ${TGT}',
28 target='empty_file')
30 bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/external', 'empty_file', destname='__init__.py')
32 # a grouping library for event and socket related subsystems
33 bld.SAMBA_LIBRARY('samba-sockets',
34 source=[],
35 private_library=True,
36 grouping_library=True,
37 deps='LIBTSOCKET samba_socket tevent-util')