On Sat, Apr 12, 2008 at 10:12 AM, Cliff Wells <[EMAIL PROTECTED]> wrote:

>  > Virtualenv, although it's not part of the stdlib, is straightforward
>  > and self-contained.  You don't have to modify the system Python
>  > library to use it, so I don't see why you consider it incompatible
>  > with your old environment.
>
>  It is incompatible for one simple reason: these are existing
>  applications.  It's simply not feasible to reinstall a customer's
>  application with no tangible benefit to them.  Most of them don't care
>  it's written in Python, let alone that it's not using virtualenv.  They
>  won't appreciate the "upgrade" and they certainly won't pay for it.  So
>  more or less, it's an exercise in busy work.

Who said anything about reinstalling customer applications?  If
they're working, they're working.  If you've got a global install of
Setuptools, it's fine.. at least until you have to install an app that
needs a different version of a package than another app on the system
needs.  pkg_resources.require() would be great except that many apps
including Paster have no place to specify the versions before the
modules are imported.  You could hack it into the stub  executable,
but then there's one more problem with installing Pylons apps via
setup.py -- it overwrites the stub script.

>  > This is going to be another of those "dumb users" issues we clashed
>  > about before.
>
>  Not especially.  I'm going to dodge it since it's clear you care about
>  it far more than I do =)

I feel strongly about it because I've written several HOWTOs that
needed this as a preamble, and I always feel apologetic about it.

The latest proposal is for pkg_resources to go into Python alone, with
a minimum download feature if it's run as a script, to download
Setuptools or something from PyPI.  That'll at least make it more
straightforward to install Setuptools, or to use pkg_resources.require
out of the box.


-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to