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

Use xdg basedir spec on linux #84396

Closed
scarGarcaAmor mannequin opened this issue Apr 7, 2020 · 2 comments
Closed

Use xdg basedir spec on linux #84396

scarGarcaAmor mannequin opened this issue Apr 7, 2020 · 2 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@scarGarcaAmor
Copy link
Mannequin

scarGarcaAmor mannequin commented Apr 7, 2020

BPO 40215
Nosy @merwok, @dstufft

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2020-10-22.20:05:36.822>
created_at = <Date 2020-04-07.09:25:54.812>
labels = ['type-feature', 'library']
title = 'Use xdg basedir spec on linux'
updated_at = <Date 2020-10-22.20:05:36.821>
user = 'https://bugs.python.org/scarGarcaAmor'

bugs.python.org fields:

activity = <Date 2020-10-22.20:05:36.821>
actor = 'eric.araujo'
assignee = 'none'
closed = True
closed_date = <Date 2020-10-22.20:05:36.822>
closer = 'eric.araujo'
components = ['Distutils']
creation = <Date 2020-04-07.09:25:54.812>
creator = '\xc3\x93scar Garc\xc3\xada Amor'
dependencies = []
files = []
hgrepos = []
issue_num = 40215
keywords = []
message_count = 2.0
messages = ['365899', '379334']
nosy_count = 3.0
nosy_names = ['eric.araujo', 'dstufft', '\xc3\x93scar Garc\xc3\xada Amor']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue40215'
versions = []

@scarGarcaAmor
Copy link
Mannequin Author

scarGarcaAmor mannequin commented Apr 7, 2020

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

TLDR; For config files like .pypirc, configuration should be in the $XDG_CONFIG_HOME/python/

@scarGarcaAmor scarGarcaAmor mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Apr 7, 2020
@merwok
Copy link
Member

merwok commented Oct 22, 2020

Thanks for the report, but at this stage of the distutils lifecycle (mostly unmaintained, may be removed from stdlib) I don’t think such a change would be useful. Packaging guides recommend other tools, such as twine or flit, that don’t use this config file.

@merwok merwok closed this as completed Oct 22, 2020
@merwok merwok closed this as completed Oct 22, 2020
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant