-
Is it possible to declare a requirement for a pdm plugin to be installed, in pyproject.yml? I would like to ensure that for example |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
It is possible but requires a separate installation step: https://pdm-project.org/en/latest/dev/write/#specify-the-plugins-in-project |
Beta Was this translation helpful? Give feedback.
-
Sorry I didn't understand which bit, or how to use it? I already have the following in my project file (based on https://pdm-project.org/en/latest/dev/write/#specify-the-plugins-in-project), but pdm doesn't complain if these plugins aren't installed:
|
Beta Was this translation helpful? Give feedback.
It's not possible, but you can ensure they are installed with script hooks, like:
Then plugins will be installed each time you run
pdm sync
orpdm install