1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-12 04:59:09 +03:00

s4-python: only install external python libs that are missing

This commit is contained in:
Andrew Tridgell
2010-03-05 11:53:19 +11:00
parent 7d86257d54
commit 25a0750b81
2 changed files with 19 additions and 1 deletions

View File

@ -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)