[PEAK] Passing user and password to easy_install

Luigi Paioro luigi at lambrate.inaf.it
Wed Apr 7 11:23:37 EDT 2010


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


More information about the PEAK mailing list