diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2014-12-14 20:31:45 +0000 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2015-03-06 04:41:48 +0100 |
| commit | 2e2c05c1fef8183434e82debc87627acae5a5f97 (patch) | |
| tree | 6f8d585e03192dac593df44cd4f4e7eed6864c13 /lib | |
| parent | 889d0adab1f303fccabd225e0162ca488ab26164 (diff) | |
| download | samba-2e2c05c1fef8183434e82debc87627acae5a5f97.tar.gz samba-2e2c05c1fef8183434e82debc87627acae5a5f97.tar.xz samba-2e2c05c1fef8183434e82debc87627acae5a5f97.zip | |
Remove 'external' python module support code - use the third_party directory instead.
Change-Id: I2f5053bc5a42d3dfe71f5bd027eb6ead7d1b9752
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/wscript_build | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/wscript_build b/lib/wscript_build index 2432df5e2f..94bc7642a9 100644 --- a/lib/wscript_build +++ b/lib/wscript_build @@ -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=[], |
