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