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:
12
source4/scripting/python/samba_external/missing.py
Executable file
12
source4/scripting/python/samba_external/missing.py
Executable 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)
|
Reference in New Issue
Block a user