[Catalog-sig] PyPI Enhancements (was: permissive trove classification)

Tarek Ziadé ziade.tarek at gmail.com
Sun Jan 6 21:11:23 CET 2008



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.
> 

Yes I was wondering how it could look like, based on what we have now.
I have change the proposal with your remarks.
For the [server-login] section, maybe we could drop it and just
have a backward compatibilty mechanism. (see updated doc)


Fred Drake wrote:
> 
> I don't really like the sort of interactivity you're proposing, but I
> suspect there are a variety of ways to deal with that as well.  I've
> some thoughts on that, but they're not horribly clear just yet.
> 

Ok, I'll answer on Martin mail on that 

Tarek

-- 
View this message in context: http://www.nabble.com/PyPI-Enhancements-%28was%3A-permissive-trove-classification%29-tp14614933p14653061.html
Sent from the Python - catalog-sig mailing list archive at Nabble.com.



More information about the Catalog-SIG mailing list