Previously Mike Orr wrote:
> 
> On Tue, Nov 18, 2008 at 12:22 AM, Lawrence Oluyede <[EMAIL PROTECTED]> wrote:
> >
> > On Tue, Nov 18, 2008 at 8:35 AM, Eric Ongerth <[EMAIL PROTECTED]> wrote:
> >>
> >> Correction: the point at which easy_installing Pylons errored out was
> >> during the installation of simpleJSON.  So it never reached the point
> >> of installing paste, pastescript, pastedeploy etc.
> >>
> >> Hey, I thought Python 2.6 includes the former simpleJSON as the new
> >> json module.  No?
> >
> > It does: http://docs.python.org/library/json.html
> 
> It does but I doubt Python provides sufficient egg-info data for
> easy_install to know the dependency is not needed.

It can: setup.py is just python, so you can put conditional code in
there that checks the python version and modifies install_requires
accordingly. You need to do the same thing for the uuid module as well.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
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