Previously Mike Orr wrote:
> 
> On Tue, Nov 25, 2008 at 2:35 PM, Ben Bangert <[EMAIL PROTECTED]> wrote:
> > On Nov 25, 2008, at 12:43 PM, Mike Orr wrote:
> >
> >> Is it possible to limit a dependency to certain versions of Python?
> >
> > It should be. Setup.py is just a Python file, I don't see why I can't test
> > the Python version and toggle the dependencies.
> 
> Aren't the dependencies stored in the egg_info files and reparsed when
> you call pkg_resources.require()?  Otherwise I don't see how it could
> do its cascade of dependency checking when you load the application
> egg, because setup.py isn't available at that point.

It works with source eggs since that python is run during dependency
determination, and for binary eggs since those are python
version-specific.

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