]> git.phdru.name Git - m_librarian.git/commitdiff
Different requirements for Python 2.6, 2.7, and 3.4+
authorOleg Broytman <phd@phdru.name>
Fri, 29 Jul 2016 19:47:09 +0000 (22:47 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 29 Jul 2016 19:47:09 +0000 (22:47 +0300)
requirements.txt

index 11f797d6f91a6ae708c291624420de7cff536673..f16f3844527371c9430ae7544fab1ee617e8fa09 100644 (file)
@@ -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'