]> git.samba.org - samba.git/blobdiff - lib/wscript_build
Revert "pthreadpool: add pthreadpool_tevent_[current_job_]per_thread_cwd()"
[samba.git] / lib / wscript_build
index b8bc9e9120d7801dade0c16ca5ccb564c6e4566c..94bc7642a99c5a4bde2dc6a49547854cea43f045 100644 (file)
@@ -1,26 +1,8 @@
 #!/usr/bin/env python
 
-import os, Options
-from samba_utils import TOUCH_FILE, EXPAND_VARIABLES
-
-# 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)
-
-for e in list:
-    bld.INSTALL_WILDCARD('${PYTHONDIR}/samba/external', e + '/**/*', flat=False,
-                         exclude='*.pyc', trim_path=os.path.dirname(e))
-
-if Options.is_install:
-    # we need a blank __init__.py in samba/external
-    TOUCH_FILE(bld.EXPAND_VARIABLES('${PYTHONDIR}/samba/external/__init__.py'))
+# a grouping library for event and socket related subsystems
+bld.SAMBA_LIBRARY('samba-sockets',
+                  source=[],
+                  private_library=True,
+                  grouping_library=True,
+                  deps='LIBTSOCKET samba_socket tevent-util')