Éric Araujo added the comment:
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.
New submission from Óscar García Amor :
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/
--
components: Distutils
messages: 365899
nosy: dstufft, eric.araujo, Óscar