5 # work out what python external libraries we need to install
7 "subunit": "subunit/python/subunit",
8 "testtools": "testtools/testtools",
9 "extras": "extras/extras",
10 "mimeparse": "mimeparse/mimeparse",
15 for module
, package
in external_libs
.items():
22 bld
.INSTALL_WILDCARD('${PYTHONARCHDIR}/samba/external', e
+ '/**/*', flat
=False,
23 exclude
='*.pyc', trim_path
=os
.path
.dirname(e
))
25 bld
.SAMBA_GENERATOR('external_init_py',
29 bld
.INSTALL_FILES('${PYTHONARCHDIR}/samba/external', 'empty_file', destname
='__init__.py')
31 # a grouping library for event and socket related subsystems
32 bld
.SAMBA_LIBRARY('samba-sockets',
35 grouping_library
=True,
36 deps
='LIBTSOCKET samba_socket tevent-util')