Using PDM on global environment #1655
-
Is it possible to use PDM without any kind of isolation (either PEP 582 or venv), directly on the system-installed Python? It could be useful when installing projects inside Docker containers, or for CI/CD when using a custom image. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
There is a section on Managing a Global Project in the docs, does that answer your question? |
Beta Was this translation helpful? Give feedback.
-
Hm that is not quite related to what I had in mind. My question was about using I have ended up using a different workflow, with a custom PDM script that exports the dependencies into a
Then, in the Dockerfile, I install |
Beta Was this translation helpful? Give feedback.
-
Thank you @frostming, that pretty much answers my original question. |
Beta Was this translation helpful? Give feedback.
The document is related but you don't read it right. This does the trick:
Or the short form: