summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba_external/wscript_build
blob: 45e00d062af3d7d08fa40b01a0f48dc854a12711 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python

# 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')