mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix Python 2.6 support.
This commit is contained in:
parent
d5aeb8a691
commit
1a958a3951
@ -86,9 +86,11 @@ setup(
|
|||||||
|
|
||||||
extras_require={
|
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'": ["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
|
# Specify data files to be included. For Python 2.6 include them in MANIFEST.in
|
||||||
|
@ -27,7 +27,8 @@ MarkupSafe==0.23
|
|||||||
ordereddict; python_version < '2.7'
|
ordereddict; python_version < '2.7'
|
||||||
passlib==1.6.2
|
passlib==1.6.2
|
||||||
pbr==1.9.1
|
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
|
pycrypto==2.6.1
|
||||||
pyrsistent==0.11.13
|
pyrsistent==0.11.13
|
||||||
python-dateutil==2.5.0
|
python-dateutil==2.5.0
|
||||||
|
Loading…
Reference in New Issue
Block a user