s3: client - "client use spnego principal = yes" code checks wrong name.
[Samba.git] / third_party / wscript_build
blob9a5fabc054451885d1763c9a2e6ddaafe0f974d3
1 #!/usr/bin/env python
3 import os
5 # work out what python external libraries we need to install
6 external_libs = {
7 "dns.resolver": "dnspython/dns",
8 "iso8601": "pyiso8601",
11 list = []
13 for module, package in external_libs.items():
14 try:
15 __import__(module)
16 except ImportError:
17 list.append(package)
19 for e in list:
20 bld.INSTALL_WILDCARD('${PYTHONARCHDIR}/samba/third_party', e + '/**/*', flat=False,
21 exclude='*.pyc', trim_path=os.path.dirname(e))
23 bld.SAMBA_GENERATOR('third_party_init_py',
24 rule='touch ${TGT}',
25 target='empty_file')
27 bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/third_party', 'empty_file', destname='__init__.py')
28 bld.RECURSE('zlib')
29 bld.RECURSE('popt')