Skip to content

Why does new install.python-poetry.org script not add poetry to PATH? #5917

Answered by neersighted
johnthagen asked this question in Q&A
Discussion options

You must be logged in to vote

The reason for this is that atomically altering the user's shell configuration files is hazardous/fraught at best, and unexpected and harmful at worst. Many users manage their shell configuration explicitly and do not appreciate any program tampering. For those that don't, it's still difficult to modify a script in an idempotent and robust manner, all to save a little bit of manual text editing that any user of a CLI program should be familiar with. Poetry additionally makes this easier by not using an unusual path, but instead using the bin directory that is part of the XDG spec (~/.local/bin).

I hesitate to say we will never adjust this behavior, but experience from other projects as we…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by neersighted
Comment options

You must be logged in to vote
2 replies
@neersighted
Comment options

@AlexeyFeigin
Comment options

Comment options

You must be logged in to vote
1 reply
@johnthagen
Comment options

Comment options

You must be logged in to vote
1 reply
@abn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants