]> git.phdru.name Git - sqlconvert.git/blob - setup.py
[mysql2sql] Show the name of the file being converted
[sqlconvert.git] / setup.py
1 #!/usr/bin/env python
2
3 from imp import load_source
4 from os.path import abspath, dirname, join
5
6 try:
7     from setuptools import setup
8     is_setuptools = True
9 except ImportError:
10     from distutils.core import setup
11     is_setuptools = False
12
13 versionpath = join(abspath(dirname(__file__)), 'sqlconvert', '__version__.py')
14 load_source('sqlconvert_version', versionpath)
15 # Ignore: E402 module level import not at top of file
16 from sqlconvert_version import __version__  # noqa
17
18 setup(name='sqlconvert',
19       version=__version__,
20       description='Broytman sqlconvert',
21       long_description=open('README.txt', 'rtU').read(),
22       author='Oleg Broytman',
23       author_email='phd@phdru.name',
24       url='http://phdru.name/Software/Python/',
25       license='GPL',
26       platforms=['any'],
27       keywords=[''],
28       classifiers=[
29           'Development Status :: 3 - Alpha',
30           'Environment :: Console',
31           'Intended Audience :: Developers',
32           'License :: OSI Approved :: GNU General Public License (GPL)',
33           'Operating System :: OS Independent',
34           'Programming Language :: Python :: 2',
35           'Programming Language :: Python :: 2.6',
36           'Programming Language :: Python :: 2.7',
37           'Programming Language :: Python :: 3',
38           'Programming Language :: Python :: 3.4',
39       ],
40       packages=['sqlconvert'],
41       package_data={},
42       scripts=['scripts/mysql2sql'],
43       requires=['sqlparse', 'SQLObject', 'm_lib'],
44       )