downgrade sqlalchemy requirement to 3.10

This commit is contained in:
steve
2008-06-19 23:26:59 -04:00
parent 7de8a68256
commit 28504ac4f4

View File

@@ -59,11 +59,11 @@ except ImportError:
try:
import sqlalchemy
vers = sqlalchemy.__version__
assert vers == "0.3.11" or vers == "0.3.10", \
("reddit is only compatible with SqlAlchemy 0.3.10 and 0.3.11 not '%s' " % vers)
assert vers == "0.3.10", \
("reddit is only compatible with SqlAlchemy 0.3.10 not '%s' " % vers)
except ImportError:
print "Installing Sqlalchemy 0.3.11 from the cheese shop"
easy_install(["http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.3.11.tar.gz#md5=4b8c0921de350343814ed7ed50499578"])
print "Installing Sqlalchemy 0.3.10 from the cheese shop"
easy_install(["http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.3.10.tar.gz"])
filtermod = Extension('Cfilters',
sources = ['r2/lib/c/filters.c'])
@@ -81,7 +81,7 @@ setup(
"Babel>=0.9.1",
"flup",
"simplejson",
"SQLAlchemy==0.3.11",
"SQLAlchemy==0.3.10",
"chardet",
"psycopg2",
"py_interface"],