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