Pyinstaller and cython application files way too huge

十年热恋 提交于 2019-12-11 04:25:02

问题


I am creating executables that can run on my laptop without having Python installed. The below works perfectly...

pyinstaller -r file_a.so,dll,file_a.so -r file_b.so,dll,file_b.so -F ./bin/hello

However each executable is 181,177kb+. When before the job was about 10kbs. I can compress that down to 170,100kbs.

Any ideas on how I can compress this further. It is using cython + Pyinstaller which works perfectly however the only issue is the huge size.....

来源:https://stackoverflow.com/questions/47026649/pyinstaller-and-cython-application-files-way-too-huge

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!