setup.py 中的 Debian 包依赖关系还是好的设置方式?

问题描述 投票:0回答:0

我编写了一个 Python 程序来从蓝牙设备接收值。为此,我围绕

gatttool
构建了一个包装器。现在我想将它构建为 Debian 包,为此我使用 setup.py.

此命令用于构建包。

python3 setup.py --command-packages=stdeb.command bdist_deb

不幸的是,我需要

bluez
作为依赖项。据我所知,setuptools 无法安装 Debian 软件包。

如果有人想看代码,这里是repo

如何以干净的方式做到这一点?

python setuptools setup.py apt deb
© www.soinside.com 2019 - 2024. All rights reserved.