通过诗歌管理非pip依赖性
我们正在用诗歌开发项目。其中之一我们实施了QR代码解码。因为 pip软件包网站状态zbar
需要在系统上安装。
在安装我们的软件包时,诗歌/PIP是否有可能安装ZBAR
依赖关系?
We are develop our projects with poetry. In one of which we implement qr-code decoding. As the pip package site states zbar
needs to be installed on the system.
Is it somehow possible that poetry/pip installs the zbar
dependency, while installing our package?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是不是。
诗歌
本质上是pip
的包装器,只能管理PYTHON的依赖性。您可以考虑此用例
nix
之类的东西: https:// github。 com/nixos/nix#nix或您可以考虑运行适当的
brew
或apt-apt-get
基于等价的makefile
在操作系统上。Unfortunately not.
poetry
is essentially a wrapper ofpip
and can only manage Python dependencies from PyPi.You could consider something like
Nix
for this use case: https://github.com/NixOS/nix#nixOr you could consider a
Makefile
that runs the appropriatebrew
orapt-get
-equivalent based on the operating system.