[software development] deepin23 正式发布后,有没有好用的打包工具?
Tofloor
poster avatar
pho
deepin
2023-11-24 06:19
Author

我目前自己打包用pyinstaller来打包deb软件,但是deepin 23用玲珑包后,如果要打包玲珑包,用什么工具?假如我自己用PYTHON写代码的话。

Reply Favorite View the author
All Replies
神末shenmo
deepin
Spark-App
2023-11-24 07:34
#1

deb也能用

Reply View the author
花雨落逝
deepin
2023-11-24 08:26
#2

看下玲珑官网怎么说?

Reply View the author
把一切操作变成GUI
deepin
Backbone of ecological co-construction group
2023-11-24 09:49
#3

同问,我也想知道,二进制的怎么直接塞进去玲珑包,deb是直接放进去就可以了,玲珑呢?

总不能只支持C,C++吧?

其他语言呢?

Reply View the author
Merlin
Super Moderator
Product Manager
2023-11-24 14:59
#4
正式发布后会有类似的工具,但可能也到不了一键生成的这种地步,但是会有相对正式的打包工具和方法。
Reply View the author
立青
deepin
2023-11-24 16:23
#5

Pyinstaller能生成Deb安装包?

Reply View the author
魔法师
deepin
2023-11-24 23:16
#6
立青

Pyinstaller能生成Deb安装包?

pyinstaller 也就生成个二进制文件或带目录结构的二进制启动程序吧,说真产出的目录好大(以及某些 python 程序例如我写 streamlit 这种脚本,pyinstaller 需要加一个外壳来启动,索性直接这样打包
applaud

image.png

image.png

最后将可执行文件替换替换,索性一个 makefile 写完所有流程每个项目都弄个 INSTALL 和相同的 makefile 出 deb 的方式(优雅

Reply View the author
魔法师
deepin
2023-11-24 23:19
#7
魔法师

pyinstaller 也就生成个二进制文件或带目录结构的二进制启动程序吧,说真产出的目录好大(以及某些 python 程序例如我写 streamlit 这种脚本,pyinstaller 需要加一个外壳来启动,索性直接这样打包
applaud

image.png

image.png

最后将可执行文件替换替换,索性一个 makefile 写完所有流程每个项目都弄个 INSTALL 和相同的 makefile 出 deb 的方式(优雅

套壳再套壳, 然后 makefile 变成了 debian/rules 了joy

Reply View the author
魔法师
deepin
2023-11-24 23:22
#8
魔法师

套壳再套壳, 然后 makefile 变成了 debian/rules 了joy

如果感觉麻烦,可以尝试 spark 构建,我可以出个简单的视频(当然你最起码需要写几行 cmake (毕竟它是 cmake 构建模块,一个模块+一个模板,出包极为简单,只是要写不到时10行的操作

加群:872690351 星火交流群然后 @我

Reply View the author
pho
deepin
2023-12-25 08:17
#9
魔法师

如果感觉麻烦,可以尝试 spark 构建,我可以出个简单的视频(当然你最起码需要写几行 cmake (毕竟它是 cmake 构建模块,一个模块+一个模板,出包极为简单,只是要写不到时10行的操作

加群:872690351 星火交流群然后 @我

这是什么群?QQ?

Reply View the author