Remove cffi from bundled libs properly

This commit is contained in:
Oleksii Shevchuk 2017-03-21 18:15:46 +02:00 committed by Oleksii Shevchuk
parent 2d388f2f61
commit 477556264b
1 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@ sys_modules = [
all_dependencies=set( all_dependencies=set(
[ [
x.split('.')[0] for x,m in sys_modules \ 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', 'Crypto', 'yaml', 'rpyc', 'pyasn1', 'rsa',
'encodings.idna', 'stringprep', 'encodings.idna', 'stringprep',
@ -29,7 +29,6 @@ all_dependencies.add('site')
all_dependencies = sorted(list(set(all_dependencies))) all_dependencies = sorted(list(set(all_dependencies)))
all_dependencies.remove('pupy') all_dependencies.remove('pupy')
all_dependencies.remove('cffi')
all_dependencies.remove('additional_imports') all_dependencies.remove('additional_imports')
print "ALLDEPS: ", all_dependencies print "ALLDEPS: ", all_dependencies