From 55fe42a4ae873f961db162a4e6899e806b40bcae Mon Sep 17 00:00:00 2001 From: Jan Vlcinsky Date: Fri, 13 Apr 2018 23:55:16 +0200 Subject: [PATCH] Fix SQLAlchemy version for python 2.6 Tests revealed, that under python 2.6, only SQLAlchemy<1.1 is supported --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f5ad225..db5df6c 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,10 @@ class PublishCommand(Command): sys.exit() -requires = ['SQLAlchemy', 'tablib', 'docopt'] +requires = ['SQLAlchemy;python_version>="3.0"', + 'SQLAlchemy<1.1;python_version<"3.0"', + 'tablib', + 'docopt'] version = '0.5.3'