The quick hack to request a version, good to use in the interpreter or a "throw-away" script:
import pkg_resources pkg_resources.require('SQLAlchemy==0.4.5') import sqlalchemy
This works when the directory that SQLAlchemy-0.4.5-py2.4.egg is in is listed in sys.path.
On Tue, Apr 29, 2008 at 11:11 AM, firstname.lastname@example.org wrote:
We have SQLAlchemy 0.3.3 installed via setuptools. I upgraded to 0.4.5 today but had to back that out (by editing easy-install.pth) because of API changes. Now I have these two installs
Is there a way to import the 0.4.5 version for testing without disturbing the 0.3.3 version? I tried placing the 0.4.5 egg directory in PYTHONPATH but I still get the 0.3.3 version when I "import sqlalchemy".
What's a fella to do?
Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig