Remove 'external' python module support code - use the third_party directory instead.
[obnox/samba/samba-obnox.git] / lib / wscript_build
index 2432df5e2f0277c7cada8c47d89a40e8cc9e49c1..94bc7642a99c5a4bde2dc6a49547854cea43f045 100644 (file)
@@ -1,29 +1,5 @@
 #!/usr/bin/env python
 
-import os, Options
-
-# work out what python external libraries we need to install
-external_libs = {
-    }
-
-list = []
-
-for module, package in external_libs.items():
-    try:
-        __import__(module)
-    except ImportError:
-        list.append(package)
-
-for e in list:
-    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('${PYTHONARCHDIR}/samba/external', 'empty_file', destname='__init__.py')
-
 # a grouping library for event and socket related subsystems
 bld.SAMBA_LIBRARY('samba-sockets',
                   source=[],