Fix Python 2.6 support.

This commit is contained in:
Murtuza Zabuawala 2018-02-19 10:22:23 +00:00 committed by Dave Page
parent d5aeb8a691
commit 1a958a3951
2 changed files with 6 additions and 3 deletions

View File

@ -86,9 +86,11 @@ setup(
extras_require={
# ...
":python_version<'2.7'": ["ordereddict", "Flask-Script"],
":python_version<'2.7'": [
"ordereddict", "Flask-Script", "psycopg2==2.7.3.2"
],
":python_version<='2.7'": ["backports.csv", "importlib"],
":python_version>='2.7'": ["Flask-HTMLmin"]
":python_version>='2.7'": ["Flask-HTMLmin", "psycopg2>=2.7.3.2"]
},
# Specify data files to be included. For Python 2.6 include them in MANIFEST.in

View File

@ -27,7 +27,8 @@ MarkupSafe==0.23
ordereddict; python_version < '2.7'
passlib==1.6.2
pbr==1.9.1
psycopg2>=2.7.3.2
psycopg2>=2.7.3.2; python_version >= '2.7'
psycopg2==2.7.3.2; python_version < '2.7'
pycrypto==2.6.1
pyrsistent==0.11.13
python-dateutil==2.5.0