From: Oleg Broytman Date: Sat, 31 Mar 2018 22:36:23 +0000 (+0300) Subject: Build(setup.py): Add forgotten `SQLObject` to `install_requires` X-Git-Tag: 0.1.0~27 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=78f96521980392c4df5d605ebe182a8cbc6cba60;p=m_librarian.git Build(setup.py): Add forgotten `SQLObject` to `install_requires` --- diff --git a/setup.py b/setup.py index ab83d55..29a8ec4 100755 --- 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'],