[Distutils] multiple servers handling in .pypirc

Tarek Ziadé ziade.tarek at gmail.com
Mon Jan 21 23:35:28 CET 2008



James William Pye wrote:
> 
> In the EnhancedPyPI page, the .pypirc file starts to take on two roles: a
> keychain and a list of index servers. Perhaps it would be best to keep
> these things separate. A global file(and a user relative file) listing
> index
> servers or an environment variable would be handy, IMO.
> 

Yeas maybe we could look in the user's home then in some global
place. but how this could be done so it works on all platforms ?
I can think of /etc in Linux, but what about Windows, is there
a common pattern we can use ?


James William Pye wrote:
> 
> Also, it would be
> preferable if we could just use the
> URL/URI/IRI syntax: http://user:pass@example.com/pypi
> 

I am not found of this because for the default server (pypi) you will need
to provide explicit username/password if you want to omit the PyPI url


James William Pye wrote:
> 
> just my random thoughts as a user. nice work regardless of how you take my
> preferences. ;)
> 

Well thanks a lot. At this point I have added a patch proposal, 
but it can still be enhanced.

I will really like to see it in 2.6 because by that time, there will be many
PyPI-compatible web sites 

-- 
View this message in context: http://www.nabble.com/multiple-servers-handling-in-.pypirc-tp14917917p15008218.html
Sent from the Python - distutils-sig mailing list archive at Nabble.com.



More information about the Distutils-SIG mailing list