diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-05 11:53:19 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-05 11:54:37 +1100 |
commit | 25a0750b8184e434e30717bb47f0b36a00e41629 (patch) | |
tree | 3815ef42a7ab11243be1e465a2608a36ec8f2dbf /source4/scripting/python | |
parent | 7d86257d54cb59d016a051b91bdee62ab2f8a0d5 (diff) | |
download | samba-25a0750b8184e434e30717bb47f0b36a00e41629.tar.gz samba-25a0750b8184e434e30717bb47f0b36a00e41629.tar.bz2 samba-25a0750b8184e434e30717bb47f0b36a00e41629.zip |
s4-python: only install external python libs that are missing
Diffstat (limited to 'source4/scripting/python')
-rwxr-xr-x | source4/scripting/python/samba_external/missing.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/scripting/python/samba_external/missing.py b/source4/scripting/python/samba_external/missing.py new file mode 100755 index 0000000000..50bda65a21 --- /dev/null +++ b/source4/scripting/python/samba_external/missing.py @@ -0,0 +1,12 @@ +#!/usr/bin/python + +# work out what python external libraries we need to install + +list = [] + +try: + import dns.resolver +except: + list.append("dnspython") + +print ' '.join(list) |