On 04/26/2011 03:24 PM, Mike Conley wrote:
If you only want to change the SQLAlchemy version and use easy install tools, I have done it by altering the sqlalchemy path in site_packages/easy-install.pth
Sorry clicked wrong button to fast

Use the "multi" version install, e.g.:

# MULTI or SINGLE?????!!!
#
# m = multi
# Z = always unzip
# a = always copy
# x = exclude scripts
# d = install directory

# to install - Multiversion WITH SCRIPTS
easy_install.main(['-Zmad', sitePKG, egg])


And then before you import SQLAlchemy do this to select the version:

    import pkg_resources
    pkg_resources.require("sqlalchemy") # get latest version
##    pkg_resources.require("sqlalchemy==0.5.8") # get specific version


Werner

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