Passing user and password to easy_install

Luigi Paioro <[email protected]> Wed, 07 Apr 2010 17:23:37 +0200
Newsgroups gmane.comp.python.peak
Organization INAF - IASF Milano
Message-ID <[email protected]>
Dear PEAKers,

I'm using setuptool module to pack my software and I'd like to 
distribute it via PyPI, making it installable exploiting easy_install.

I have a requirement, though, that I'm not sure is supported by setuptools:

My software must be distributed to registered/authenticated/authorised 
users only.

Well, registering the packages I might specify that the download URL is 
a CGI, optionally with Basic Authentication accepting a default user and 
password as described here:

http://peak.telecommunity.com/DevCenter/EasyInstall#id17

This would provides me with the possibility of tracking the number of 
downloads, but always with a single public user/password. But I need to 
know who is downloading my packages.

Is there a way to associate a user and password to easy_install command? 
Such data would be nice if passed as Basic Authentication data to the 
download URL...

Thanks in advance.

Luigi