[Distutils] It should be possible to set a custom pypirc location

Wes Turner wes.turner at gmail.com
Sun Mar 11 08:11:32 EDT 2018


"Custom location for .pypirc file"
https://stackoverflow.com/questions/37845125/custom-location-for-pypirc-file

- https://github.com/pypa/setuptools/blob/master/
setuptools/package_index.py#L997
<https://github.com/pypa/setuptools/blob/master/setuptools/package_index.py#L997>

https://github.com/pypa/setuptools/issues/new

These are the pip.conf file paths:
https://pip.pypa.io/en/stable/user_guide/#config-file

... pip combines all of the pip.conf/pip.ini files that it finds.



On Friday, March 9, 2018, Joel Croteau <jcroteau at gmail.com> wrote:

> Hardcoding ~/.pypirc as the only possible location for repo configs makes
> certain use cases, like deploying to a custom repo from Jenkins, difficult.
> It should be possible to set a custom pypirc location, either through an
> environment variable, or an argument to setup.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20180311/038dece0/attachment.html>


More information about the Distutils-SIG mailing list