-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
setup.py
67 lines (63 loc) · 2.11 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, setuptools
def readme():
with open('README.rst') as f:
return f.read()
package_data = {'pg_chameleon': ['configuration/config-example.yml','sql/upgrade/*.sql','sql/drop_schema.sql','sql/create_schema.sql', 'LICENSE.txt']}
setup(
name="pg_chameleon",
version="2.0.19",
description="MySQL to PostgreSQL replica and migration",
long_description=readme(),
author = "Federico Campoli",
author_email = "the4thdoctor.gallifrey@gmail.com",
maintainer = "Federico Campoli",
maintainer_email = "the4thdoctor.gallifrey@gmail.com",
url="https://github.com/the4thdoctor/pg_chameleon/",
license="BSD License",
platforms=[
"linux"
],
classifiers=[
"License :: OSI Approved :: BSD License",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Operating System :: POSIX :: BSD",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Other/Nonlisted Topic"
],
py_modules=[
"pg_chameleon.__init__",
"pg_chameleon.lib.global_lib",
"pg_chameleon.lib.mysql_lib",
"pg_chameleon.lib.pg_lib",
"pg_chameleon.lib.sql_util"
],
scripts=[
"scripts/chameleon.py",
"scripts/chameleon"
],
install_requires=[
'PyMySQL>=0.10.0',
'mysql-replication>=0.31',
'psycopg2-binary>=2.8.3',
'PyYAML>=3.13',
'tabulate>=0.8.1',
'daemonize>=2.4.7',
'rollbar>=0.13.17'
],
include_package_data = True,
package_data=package_data,
packages=setuptools.find_packages(),
python_requires='>=3.5',
keywords='postgresql mysql replica migration database',
)