From: Oleg Broytman Date: Fri, 29 Jul 2016 19:47:09 +0000 (+0300) Subject: Different requirements for Python 2.6, 2.7, and 3.4+ X-Git-Tag: 0.0.14~1 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8f977b9eeedb62ab6b2a8eb790b4977a14f7acbb;p=m_librarian.git Different requirements for Python 2.6, 2.7, and 3.4+ --- diff --git a/requirements.txt b/requirements.txt index 11f797d..f16f384 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,8 @@ --find-links=http://phdru.name/Software/Python/ --install-option="--compile" -SQLObject>=2.2.1 -m_lib>=2.0 +argparse; python_version == '2.6' +SQLObject>=2.2.1; python_version >= '2.6' and python_version < '3.0' +SQLObject>=3.0.0; python_version >= '3.4' +m_lib>=2.0; python_version >= '2.6' and python_version < '3.0' +m_lib>=3.0; python_version >= '3.4'