]> git.phdru.name Git - sqlconvert.git/blob - setup.py
Build(.gitignore): Ignore `.pytest_cache`
[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 from setuptools import setup
6
7 versionpath = join(abspath(dirname(__file__)), 'sqlconvert', '__version__.py')
8 sqlconvert_version = load_source('sqlconvert_version', versionpath)
9
10 setup(name='sqlconvert',
11       version=sqlconvert_version.__version__,
12       description='Broytman sqlconvert',
13       long_description=open('README.rst', 'rU').read(),
14       long_description_content_type="text/x-rst",
15       author='Oleg Broytman',
16       author_email='phd@phdru.name',
17       url='http://phdru.name/Software/Python/sqlconvert/',
18       project_urls={
19           'Homepage': 'http://phdru.name/Software/Python/sqlconvert/',
20           'Documentation':
21               'http://phdru.name/Software/Python/sqlconvert/docs/',
22           'Download': 'https://pypi.python.org/pypi/sqlconvert/%s'
23           % sqlconvert_version.__version__,
24           'Git repo': 'http://git.phdru.name/sqlconvert.git/',
25           'Github repo': 'https://github.com/phdru/sqlconvert',
26           'Issue tracker': 'https://github.com/phdru/sqlconvert/issues',
27       },
28       license='GPL',
29       keywords=['sql', 'mysql', 'postgresql', 'sqlite', 'insert'],
30       platforms='Any',
31       classifiers=[
32           'Development Status :: 3 - Alpha',
33           'Environment :: Console',
34           'Intended Audience :: Developers',
35           'License :: OSI Approved :: GNU General Public License (GPL)',
36           'Operating System :: OS Independent',
37           'Programming Language :: Python :: 2',
38           'Programming Language :: Python :: 2.7',
39           'Programming Language :: Python :: 3',
40           'Programming Language :: Python :: 3.4',
41           'Programming Language :: Python :: 3.5',
42           'Programming Language :: Python :: 3.6',
43       ],
44       packages=['sqlconvert'],
45       scripts=['scripts/mysql2sql'],
46       python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
47       install_requires=[
48           'SQLObject>=2.2.1; python_version=="2.7"',
49           'SQLObject>=3.0.0; python_version>="3.4"',
50           'm_lib.defenc>=1.0',
51           'm_lib>=3.1',
52           'sqlparse',
53       ],
54       )