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.

-- 
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