Fix requirements for Python 2.6.

This commit is contained in:
Murtuza Zabuawala
2018-04-04 12:26:44 +01:00
committed by Dave Page
parent a705fb46a8
commit b7c86da586
3 changed files with 48 additions and 15 deletions

View File

@@ -87,14 +87,20 @@ setup(
extras_require={
# ...
":python_version<'2.7'": [
"ordereddict", "Flask-Script",
"psycopg2==2.7.3.2", "pycrypto==2.6.1"
"ordereddict",
"Flask-Script",
"psycopg2==2.7.3.2",
"pycrypto==2.6.1",
"python-dateutil==2.5.0"
],
":python_version<='2.7'": [
"backports.csv", "importlib"
],
":python_version>='2.7'": [
"Flask-HTMLmin", "psycopg2>=2.7.3.2", "pycryptodome"
"Flask-HTMLmin",
"psycopg2>=2.7.3.2",
"pycryptodome",
"python-dateutil>=2.7.1"
]
},