From 1d4c5689e1059f55b6558f533ccd801bc666c791 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 3 Sep 2016 18:48:44 +0300 Subject: [PATCH] Require m_lib Require sqlparse instead of install_requires. --- setup.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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'], + ) -- 2.39.5