怎样把python源码打包????
Tofloor
poster avatar
zwg876
deepin
2019-03-16 15:27
Author
自己开发的、写的一些软件,小软件。。。。。。。

用pyqt5做的GUI界面。。。。


已经成功使用pyinstaller打包成win平台的可执行程序。。。。。


请问如何把同样的代码,打包成深度或者说linux平台下的可执行文件?????


如果打包好了,客户机还需要另外安装运行库不?比如要不要另外安装pyqt?


求步骤,求指导,谢谢!

Reply Favorite View the author
All Replies
avatar
许自强
deepin
2019-03-24 21:02
#1
小软件不建议打包
Reply View the author
avatar
许自强
deepin
2019-03-24 21:02
#2
正常情况下打包之后不需要安装其他东西
Reply View the author
avatar
cosct
deepin
2019-03-24 23:06
#3
linux一般都有python环境,没必要打包啊
Reply View the author
avatar
Ligocut光剪视频剪辑软件
deepin
Backbone of ecological co-construction group
2019-05-11 09:45
#4
https://bbs.deepin.org/post/175617
linux一般都有python环境,没必要打包啊

但是会有依赖版本问题呐~
Reply View the author
avatar
cgp
deepin
2019-05-11 20:51
#5
在哪个平台下下打包就得到哪个平台的可执行程序,想让生成deepin下可执行程序就在deepin下打包就就行了。最后搜一下怎么把可执行程序打包成deb包就可以用了。一般来说打包后应该不会存在依赖问题。(当然前提是你的程序本身没问题)
Reply View the author