Skip to content

Question: Intended use with venvs #10

Answered by pawamoy
laenan8466 asked this question in Q&A
Discussion options

You must be logged in to vote

(just enabled discussions, and transferred the issue 🙂)

What is the default setting here?

The default setting is unset. The option is activated only if the value is 1. Any other value (0, empty, 2), and the venv feature will be disabled.

I don't like my pyenvs to be bloated by packages from projects

Definitely something to avoid indeed.

How would I have to setup pdm-multirun to follow that direction?

The idea is to declare and create a few venvs with PDM, then use the same names with PDM Multirun:

# Unfortunately I don't think PDM supports creating multiple venv in the project folder,
# so we have to tell it to create them elsewhere. But maybe I'm wrong.
pdm config venv.in_project f…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@laenan8466
Comment options

laenan8466 Nov 12, 2023
Author Sponsor

@pawamoy
Comment options

@laenan8466
Comment options

laenan8466 Nov 12, 2023
Author Sponsor

@pawamoy
Comment options

Answer selected by laenan8466
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9 on November 11, 2023 23:15.