|
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 |
Answered by
frostming
Sep 9, 2025
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 |
0 replies
|
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: |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 syncorpdm install