]> git.phdru.name Git - m_librarian.git/commitdiff
Build(setup.py): Add forgotten `SQLObject` to `install_requires`
authorOleg Broytman <phd@phdru.name>
Sat, 31 Mar 2018 22:36:23 +0000 (01:36 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 31 Mar 2018 22:36:23 +0000 (01:36 +0300)
setup.py

index ab83d55975407b172d2b1625d83f34d8989e4dae..29a8ec4e516a6b93076faade5471aad4b42919d8 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -53,7 +53,11 @@ setup(name='m_librarian',
       scripts=['scripts/ml-import.py', 'scripts/ml-initdb.py',
                'scripts/ml-search.py'],
       python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
-      install_requires=['m_lib.defenc>=1.0'],
+      install_requires=[
+          'SQLObject>=2.2.1; python_version=="2.7"',
+          'SQLObject>=3.0.0; python_version>="3.4"',
+          'm_lib.defenc>=1.0',
+      ],
       extras_require={
           'm_lib': ['m_lib>=3.1'],
           'pbar': ['m_lib>=3.1'],