-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何压缩 site-packages #25
Comments
对这一块儿了解得不多,就找了一些参考资料,加一些自己的理解,抛砖引玉:
|
不要一口气把整个 site-packages 压缩了,里面的 dll/pyd/so 不支持压缩。 |
dll/pyd 可以试试 upx 压缩,但不是所有都可以 upx 压缩。 |
我认为仔细过一边官方的压缩实现可能很有启发,我去看看,感谢您的回复。 |
那你认为Pystand能够和zipapp做什么有机结合呢,看起来非常搭配,能够完整打包压缩项目和依赖 |
site-packages会得到一个很高的压缩率,通常能大幅度减少体积,甚至官方Windows embeddable package包中,标准库就是一个Zip压缩文件,通过.pth引入,请问Pystand如何压缩site-packages,或者有无关于官方库zipapp的最佳实践,期待您的回复。
The text was updated successfully, but these errors were encountered: