4 from samba_utils import TOUCH_FILE, EXPAND_VARIABLES
6 # work out what python external libraries we need to install
8 "dns.resolver": "dnspython/dns",
9 "subunit": "subunit/python/subunit",
10 "testtools": "testtools/testtools"}
14 for module, package in external_libs.iteritems():
21 bld.INSTALL_WILDCARD('${PYTHONDIR}/samba/external', e + '/**/*', flat=False,
22 exclude='*.pyc', trim_path=os.path.dirname(e))
24 if Options.is_install:
25 # we need a blank __init__.py in samba/external
26 TOUCH_FILE(bld.EXPAND_VARIABLES('${PYTHONDIR}/samba/external/__init__.py'),