#!/usr/bin/env python
-import os
-
-# 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}', e + '/**/*', flat=False,
- exclude='*.pyc', trim_path=os.path.dirname(e))
+# 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')