与容器相关的buildstream插件的集合。
bst-plugins-container的Python项目详细描述
用于BuildStream的插件集合,它们是 与容器有关。
用法
有两种方法可以使用外部buildstream插件,或者作为子模块, 或者作为一个python包。查看BuildStream的 External plugin documentation 更多细节。
将插件用作python包
要将容器插件用作buildstream项目中的python包, 您首先需要通过pip安装bst插件容器:
pip install bst-plugins-container
插件必须在project.conf中声明。为此,请参考 建造溪流 Local plugins documentation。
在项目中本地使用插件
在 buildstream项目,首先需要将repo克隆到一个位置 在您的项目中:
git clone https://gitlab.com/BuildStream/bst-plugins-container.git
插件必须在project.conf中声明。为此,请参考 建造溪流 Pip plugins documentation。