mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
downgrade sqlalchemy requirement to 3.10
This commit is contained in:
10
r2/setup.py
10
r2/setup.py
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user