[Distutils] Passing user and password to easy_install

Tarek Ziadé ziade.tarek at gmail.com
Thu Apr 15 18:25:07 CEST 2010


On Thu, Apr 15, 2010 at 6:15 PM, Brad Allen <bradallen137 at gmail.com> wrote:
> On Wed, Apr 14, 2010 at 7:59 AM, Simon de Vlieger <simon at ikanobori.jp> wrote:
>> Luigi,
>>
>> I am not sure if using PyPi for private package distribution (what this
>> equates to) would be
>> a particularly nice idea. This way the PyPi would contain packages which
>> cannot be installed
>> by users of PyPi.
>>
>> Alas, I don't know of any ways distutils can fulfill your request in its
>> current form.
>
> Luigi, you might want to consider setting up a private package server
> instead of using PyPI. Where I work, we publish our eggs internally
> via an Apache server, so we are able to make use of Apache's security
> features (like https, authentication, and IP restriction). This works
> fine with setuptools and buildout, and will probably also work in
> future with the new 'distribute' tools.

+1

You can also take a look at the alternative PyPI implementations,
that implement the server-side parts of the upload and register command.

I've changed Python 2.6's pypirc format so you can define in it
several PyPI servers,
and use the name of the target PyPI when you run register or upload
(see the doc)

I've backported it in a standalone project called "collective.dist" if
you use python < 2.6

For the server implementations, we have so far:

- EggBasket
- PloneSoftwareCenter (an extension for plone so you need to set up a plone)
- chishop
- ...

regards
Tarek


> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Distutils-SIG mailing list