Bundle Python app without interpreter

烂漫一生 提交于 2019-12-02 19:29:03

问题


I have a Python script with just minimal import (=psutil) and have bundled it with py2app. However, the resulting app is almost 9 MB because it includes the interpreter. I am looking for ways to reduce the size - the best way I can think of is to exclude the interpreter from the bundle and let the app use the client's native interpreter. Right now I am doing it only for Mac but will need to do it for all platforms. I have looked at squeeze ( http://effbot.org/zone/squeeze.htm ) but it seems to have little or no docs! - for installing, using it?

来源:https://stackoverflow.com/questions/18538153/bundle-python-app-without-interpreter

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