[Distutils] Passing user and password to easy_install

Luigi luigi.paioro at gmail.com
Wed Apr 7 17:46:07 CEST 2010


Dear All,

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/authorized
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 Distutils-SIG mailing list