Replies: 3 comments 2 replies
-
I made that prompt to narrow down the range of interpreters, but I admit your solution is better from the user experience perspective. I have no strong objection against this, it is okay. |
Beta Was this translation helpful? Give feedback.
-
About this: I am using pyenv to manage python versions. When I However, I would not want to have these homebrew/system interpeters show up. Would it make sense to add a config such as 'python_interpreters_dir" - where, if set, PDM would look at exclusively to find the interpreters? |
Beta Was this translation helpful? Give feedback.
-
I don't want to necrobump this thread but in my case I have both So I explored multiple proposals I share here. 2 steps choiceThis approach have a first "which major/minor" do you want to use then select in a filtered subset. Variants for the second step:
keep the current interpreter by defaultThis one is quite simple: if the current interpreter match the Python requirement, don't prompt and use it: the user can change later with |
Beta Was this translation helpful? Give feedback.
-
First of all, thank you very much for this great OSS.
At first time you command

pdm init
, you'll see this prompt.I honestly get confused because,
create-react-app
or any other kind of famous library shows the choices without prompt. I think many users get used to those kind of behavior.Therefore, I created branch for this proposal below.
master...ulwlu:skip_first_prompt_at_init
This shows choices at first time, so users easily choice what they want to use.
I'd like to know what you think about this, and if positive I will create news as well and send this PR.
Beta Was this translation helpful? Give feedback.
All reactions