summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba_external
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-27 15:12:56 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:10 +1000
commitbd7bf0e1a91b6e6c78a52a458d3959ef84f4d3e3 (patch)
treea011a71b11906a72ba25360544814a9ce8f59a58 /source4/scripting/python/samba_external
parent85a11c4fb7ee39294298657f0e88c23e9a37da98 (diff)
downloadsamba-bd7bf0e1a91b6e6c78a52a458d3959ef84f4d3e3.tar.gz
samba-bd7bf0e1a91b6e6c78a52a458d3959ef84f4d3e3.tar.bz2
samba-bd7bf0e1a91b6e6c78a52a458d3959ef84f4d3e3.zip
s4-waf: install the rest of our python files
Diffstat (limited to 'source4/scripting/python/samba_external')
-rw-r--r--source4/scripting/python/samba_external/wscript_build9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/scripting/python/samba_external/wscript_build b/source4/scripting/python/samba_external/wscript_build
new file mode 100644
index 0000000000..fcb2135e27
--- /dev/null
+++ b/source4/scripting/python/samba_external/wscript_build
@@ -0,0 +1,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')