forked from philipsoutham/py-mysql2pgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.34 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import os
import sys
from setuptools import setup
install_requires = [
'mysql-python>=1.2.3',
'psycopg2>=2.4.2',
'pyyaml>=3.10.0',
'pytz',
]
if os.name == 'posix':
install_requires.append('termcolor>=1.1.0')
version = sys.version_info[:2]
if version < (2,7) or (3,0) <= version <= (3,1):
install_requires += ['argparse']
setup(
name='py-mysql2pgsql',
version='0.1.6',
description='Tool for migrating/converting from mysql to postgresql.',
long_description=open('README.rst').read(),
license='MIT License',
author='Philip Southam',
author_email='[email protected]',
url='https://github.com/philipsoutham/py-mysql2pgsql',
zip_safe=False,
packages=['mysql2pgsql', 'mysql2pgsql.lib'],
scripts=['bin/py-mysql2pgsql'],
platforms='any',
install_requires=install_requires,
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Database',
'Topic :: Utilities'
],
keywords = 'mysql postgres postgresql pgsql psql migration',
)