From: Oleg Broytman Date: Sat, 3 Sep 2016 15:48:44 +0000 (+0300) Subject: Require m_lib X-Git-Tag: 0.0.1~5 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1d4c5689e1059f55b6558f533ccd801bc666c791;p=sqlconvert.git Require m_lib Require sqlparse instead of install_requires. --- diff --git a/setup.py b/setup.py index 5124f03..cc3fe73 100755 --- a/setup.py +++ b/setup.py @@ -15,10 +15,6 @@ except ImportError: from distutils.core import setup is_setuptools = False -kw = {} -if is_setuptools: - kw['install_requires'] = ['sqlparse'] - versionpath = join(abspath(dirname(__file__)), 'mysql2sql', '__version__.py') load_source('mysql2sql_version', versionpath) # Ignore: E402 module level import not at top of file @@ -49,5 +45,5 @@ setup(name='mysql2sql', packages=['mysql2sql'], package_data={}, scripts=['scripts/mysql-to-sql.py'], - requires=[], - **kw) + requires=['sqlparse', 'm_lib'], + )