]> git.phdru.name Git - sqlconvert.git/commitdiff
Require m_lib
authorOleg Broytman <phd@phdru.name>
Sat, 3 Sep 2016 15:48:44 +0000 (18:48 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 3 Sep 2016 16:06:00 +0000 (19:06 +0300)
Require sqlparse instead of install_requires.

setup.py

index 5124f03fd5bc440b3368c46843de04288edd2728..cc3fe7302e0f7240d2125344241139dbf9fd2bb7 100755 (executable)
--- 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'],
+      )