Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support $XDG_CONFIG_HOME on linux #1659

Closed
2 tasks done
hyperupcall opened this issue Dec 2, 2019 · 4 comments
Closed
2 tasks done

support $XDG_CONFIG_HOME on linux #1659

hyperupcall opened this issue Dec 2, 2019 · 4 comments
Labels
kind/feature Feature requests/implementations

Comments

@hyperupcall
Copy link

hyperupcall commented Dec 2, 2019

  • i have searched the issues of this repo and believe that this is not a duplicate.
  • i have searched the documentation and believe that my question is not covered.

feature request

i noticed that $XDG_CONFIG_HOME is supported on mac from this issue, but are there plans for it (or other variables from the xdg base directory specification) to be supported on linux? i ask because poetry still installs to $HOME/.poetry/bin even though i explicitly set $XDG_DATA_HOME. it would be great if configuration files would also be put in $XDG_CONFIG_HOME/poetry

i think it would be great for the behaviour to be consistent as possible between operating systems, especially considering that macos and gnu/linux are both *nix operating systems.

@hyperupcall hyperupcall added the kind/feature Feature requests/implementations label Dec 2, 2019
@MestreLion
Copy link

$XDG_CONFIG_HOME is meant for configuration files, not software data. Maybe you mean $XDG_DATA_HOME? If so, then yes, I strongly support this request. Poetry should install itself to $XDG_DATA_HOME/poetry (which defaults to ~/.local/share/poetry), and copy (or symlink) its CLI executable to ~/.local/bin.

@hyperupcall
Copy link
Author

oops! yeah that's exactly what i meant. lemmie fix that

@finswimmer
Copy link
Member

The new install-poetry.py installer script should do this.

Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

3 participants