使用Poetry构建Bot时,安装插件nb plugin install 或 poetry add? #83
KafCoppelia
started this conversation in
想法
Replies: 2 comments
-
事实上, 无论是上述的任何一种指令安装, 都不能符合自己能随时修改源代码的需求
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Got it!🥳 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
使用Poetry构建Bot时,安装插件商店里的插件如何安装比较好,是
nb plugin install还是poetry add作为[tool.poetry.dependencies]?如果使用前者,前者的安装源代码不好找,我可能有更改插件源码的需求;选后者,
poetry add,插件会位列在tool.poetry.dependencies内,这和自己编写的插件(文件夹位于/botname/plugin下的这种,导入bot后列在pyproject.toml下的[tool.nonebot]内),同是插件类别却在不同的种类下,有点怪。Beta Was this translation helpful? Give feedback.
All reactions