On Jul 16, 11:56 am, David Gardner <dgard...@creatureshop.com> wrote:
> I'm actually not sure, I did a bit of googling and couldn't really find
> much.
> Pep 386 talks about version comparison in 
> distutils:http://www.python.org/dev/peps/pep-0386/#id10
>
> As for scratching my itch it wouldn't have to be in the __version__
> string, I was just wondering how
> I would check if the SQLAlchemy on a system had the C extensions enabled
> on it or not.

at the moment, I'd probably try importing "cprocessors" from
sqlalchemy, or just look at
sqlalchemy.processors.str_to_date.__file__.   We haven't put any
official method for this in yet and also we'd like to have the C
extensions turned on by default at some point.

>
> On 07/15/2010 01:40 PM, Michael Bayer wrote:
>
> >> I was wondering if there was a way to check at runtime if the C extensions 
> >> were built with SQLAlchemy?
>
> >> If not I was wondering if you would consider adding something to the 
> >> __version__ string?
>
> > is there some guideline for the format on that ?
>
> --
> David Gardner
> Pipeline Tools Programmer
> Jim Henson Creature Shop
> dgard...@creatureshop.com

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to