From 477556264baa9680289ebda62f081d0078353266 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Tue, 21 Mar 2017 18:15:46 +0200 Subject: [PATCH] Remove cffi from bundled libs properly --- client/build_library_zip.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/build_library_zip.py b/client/build_library_zip.py index 6ca4a86b..ae3a90c8 100644 --- a/client/build_library_zip.py +++ b/client/build_library_zip.py @@ -18,7 +18,7 @@ sys_modules = [ all_dependencies=set( [ x.split('.')[0] for x,m in sys_modules \ - if not '(built-in)' in str(m) and x != '__main__' + if not '(built-in)' in str(m) and x != '__main__' and not x.startswith('cffi') ] + [ 'Crypto', 'yaml', 'rpyc', 'pyasn1', 'rsa', 'encodings.idna', 'stringprep', @@ -29,7 +29,6 @@ all_dependencies.add('site') all_dependencies = sorted(list(set(all_dependencies))) all_dependencies.remove('pupy') -all_dependencies.remove('cffi') all_dependencies.remove('additional_imports') print "ALLDEPS: ", all_dependencies