summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba_external/wscript_build
blob: fcb2135e278a4457684a6a98b91657fa2221c624 (plain)
1
2
3
4
5
6
7
8
9
# work out what external modules need to be installed
external_list = []
try:
    import dns.resolver
except:
    external_list.append("dnspython")

for e in external_list:
    bld.INSTALL_WILDCARD('${PYTHONDIR}/samba_external', e + '/**/*', flat=False, exclude='*.pyc')