1
0
mirror of https://github.com/samba-team/samba.git synced 2025-04-29 14:50:26 +03:00

18 lines
390 B
Python
Executable File

#!/usr/bin/python
# work out what python external libraries we need to install
external_libs = {
"dns.resolver": "dnspython/dns",
"subunit": "subunit/python/subunit",
"testtools": "testtools/testtools"}
list = []
for module, package in external_libs.iteritems():
try:
__import__(module)
except ImportError:
list.append(package)
print ' '.join(list)