mirror of
https://github.com/samba-team/samba.git
synced 2025-04-30 18:53:31 +03:00
19 lines
362 B
Python
Executable File
19 lines
362 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
# work out what python external libraries we need to install
|
|
|
|
external_libs = {
|
|
"dns.resolver": "dnspython",
|
|
"subunit": "subunit",
|
|
"testtools": "testtools"}
|
|
|
|
list = []
|
|
|
|
for module, package in external_libs.iteritems():
|
|
try:
|
|
__import__(module)
|
|
except ImportError:
|
|
list.append(package)
|
|
|
|
print ' '.join(list)
|