5 # work out what python external libraries we need to install
7 "dns.resolver": "dnspython/dns",
8 "subunit": "subunit/python/subunit",
9 "testtools": "testtools/testtools",
10 "extras": "extras/extras",
11 "mimeparse": "mimeparse/mimeparse",
16 for module
, package
in external_libs
.items():
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',
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',
36 grouping_library
=True,
37 deps
='LIBTSOCKET samba_socket tevent-util')