3 from imp import load_source
4 from os.path import abspath, dirname, join
7 from ez_setup import use_setuptools
12 from setuptools import setup
15 from distutils.core import setup
20 kw['install_requires'] = ['sqlparse']
22 versionpath = join(abspath(dirname(__file__)), 'mysql2sql', '__version__.py')
23 load_source('mysql2sql_version', versionpath)
24 # Ignore: E402 module level import not at top of file
25 from mysql2sql_version import __version__ # noqa
27 setup(name='mysql2sql',
29 description='Broytman mysql2sql',
30 long_description=open('README.txt', 'rtU').read(),
31 author='Oleg Broytman',
32 author_email='phd@phdru.name',
33 url='http://phdru.name/Software/Python/',
38 'Development Status :: 1 - Planning',
39 'Environment :: Console',
40 'Intended Audience :: Developers',
41 'License :: OSI Approved :: GNU General Public License (GPL)',
42 'Operating System :: OS Independent',
43 'Programming Language :: Python :: 2',
44 'Programming Language :: Python :: 2.6',
45 'Programming Language :: Python :: 2.7',
46 'Programming Language :: Python :: 3',
47 'Programming Language :: Python :: 3.4',
49 packages=['mysql2sql'],
51 scripts=['scripts/mysql-to-sql.py'],