Tarek Ziadé | 6 Jan 2008 21:11
Picon
Gravatar

Re: PyPI Enhancements (was: permissive trove classification)


Fred Drake wrote:
> 
> Perhaps something more like this would be appropriate:
> 
>   [distutils]
>   index-servers = pypi mycompany
> 
>   [pypi]
>   url = http://pypi.python.org/pypi/
>   username = mypubliclogin
>   password = mypassword
> 
>   [mycompany]
>   url = http://pypi.example.com/pypi/
>   username = mycompanylogin
>   password = mypassword
> 
> The default for distutils:index-servers could be pypi (and the
> pypi:url value would be defaulted as well).  (In this structure, it's
> almost unfortunate that the section storing the username and password
> is "server-login" instead of "pypi"; something would need to be done
> to finesse that, or perhaps that section could be used to provide
> defaults for the username and password values for the specific server
> sections.
> 
> My main point, though, is that detecting the set of servers shouldn't
> be magical.
> 

(Continue reading)


Gmane