s3:pdb_samba_dsdb: add pdb_samba_dsdb_get_trusteddom_creds
[obnox/samba/samba-obnox.git] / lib / wscript_build
index 3aee1655707b84f7ac86d98a0f63cd988f378afc..5712712253541fdd1081fececb1dc1f6d27b6175 100644 (file)
@@ -4,9 +4,11 @@ import os, Options
 
 # work out what python external libraries we need to install
 external_libs = {
-    "dns.resolver": "dnspython/dns",
     "subunit": "subunit/python/subunit",
-    "testtools": "testtools/testtools"}
+    "testtools": "testtools/testtools",
+    "extras": "extras/extras",
+    "mimeparse": "mimeparse/mimeparse",
+    }
 
 list = []
 
@@ -17,18 +19,18 @@ for module, package in external_libs.items():
         list.append(package)
 
 for e in list:
-    bld.INSTALL_WILDCARD('${PYTHONDIR}/samba/external', e + '/**/*', flat=False,
+    bld.INSTALL_WILDCARD('${PYTHONARCHDIR}/samba/external', e + '/**/*', flat=False,
                          exclude='*.pyc', trim_path=os.path.dirname(e))
 
 bld.SAMBA_GENERATOR('external_init_py',
                     rule='touch ${TGT}',
                     target='empty_file')
 
-bld.INSTALL_FILES('${PYTHONDIR}/samba/external', 'empty_file', destname='__init__.py')
+bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/external', 'empty_file', destname='__init__.py')
 
 # a grouping library for event and socket related subsystems
-bld.SAMBA_LIBRARY('samba_sockets',
+bld.SAMBA_LIBRARY('samba-sockets',
                   source=[],
                   private_library=True,
                   grouping_library=True,
-                  deps='LIBTSOCKET samba_socket')
+                  deps='LIBTSOCKET samba_socket tevent-util')