[Distutils] Windows web based installation of multiple packages

Lloyd Kvam python at venix.com
Wed Aug 8 18:10:26 CEST 2007

On Wed, 2007-08-08 at 09:55 -0500, Mark Hammond wrote:
> > However, I'm still interested in setting up the associations 
> > so that an HTTP content-type header for .egg files could be 
> > associated with easy_install.  I assume if it were trivial it 
> > would have been done by now.
> But wouldn't this defeat one of the key features of eggs - that you do *not*
> need to manually locate them and install them?  

In my case, someone found my package on a web site and wants to use it.
She's not a developer, but simply wants to click and install.  My
thinking is that an egg describes my package and all of its
dependencies.  If clicking on the egg ran easy_install, the dependencies
would get resolved and missing packages would be installed.

> eggs allow you to install a
> Python program that has external dependencies, and have those external
> dependencies resolved automatically.  If you really do need to manually
> locate and install a package, you may as well locate and install the
> bdist_wininst executable, 

But then I need to bundle all the dependencies.  What if some were
already installed?  What if I'm inadvertently downgrading packages
because I missed a release?

> or rpm, or whatever is "native" for the platform

yum (or equivalent) would handle the download and installation of the
dependencies specified in the rpm.  I would not need to bundle
additional packages in my rpm.

> in question.
> I guess if some packages are *only* available as an egg it might make some
> sense - but I'm yet to get the "egg" religion to the point where I see
> having an egg as replacing all other distribution formats, so people who do
> attend that church may beg to differ...

We are probably in agreement about preferring the native packaging.  For
Linux folks, I'd provide an rpm and expect their packaging system (yum,
apt-get, or whatever) to resolve everything.  Is there any kind of
Windows package manager that would resolve msi dependencies?

eggs provide a cross-platform distribution mechanism for Python code.
Bypassing the platform package manager is an unfortunate side effect of
being cross-platform.  

People can convert an egg to their preferred package format.

Lloyd Kvam
Venix Corp

More information about the Distutils-SIG mailing list