If you're using easy_install to install them, you should be able to
install them with the '-m' (--multiversion) switch. See:

http://peak.telecommunity.com/DevCenter/EasyInstall#command-line-options

Choosing the version you want to use in your application is then done
like this:

import pkg_resources
pkg_resources.require('SQLAlchemy == 0.3.10')

Or

import pkg_resources
pkg_resources.require('SQLAlchemy >= 0.4')

However, I much prefer the solution provided by virtualenv
(http://pypi.python.org/pypi/virtualenv), particularly as the number of
libraries that you depend on grow.

Hope that helps,

Simon

-----Original Message-----
From: sqlalchemy@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of maxi
Sent: 23 January 2008 13:54
To: sqlalchemy
Subject: [sqlalchemy] Two SqlAlchemy versions installed together


Can I get two SqlAlchemy versions installed together?
I need have, sqlalchemy 0.3.10 and the 0.4 last release installed
because I have two version of my application (two diferents brunches).

How can I work whit this?
In my app, how can I indicate which version I want to use?

Thanks,
M.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to