-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (66 loc) · 2.2 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
68
69
70
#!/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','lib/*.jar']}
setup(
name="chameleon",
version="5.0.0",
description="MySQL to openGauss replica and migration",
long_description=readme(),
author = "Federico Campoli",
author_email = "[email protected]",
maintainer = "Federico Campoli",
maintainer_email = "[email protected]",
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, <1.0.0',
'argparse>=1.2.1',
'mysql-replication>=0.22',
'py-opengauss>=1.3.1',
'PyYAML>=5.1.2',
'tabulate>=0.8.1',
'daemonize>=2.4.7',
'rollbar>=0.13.17',
'geomet>=0.3.0',
'mysqlclient>=2.1.1'
],
include_package_data = True,
package_data=package_data,
packages=setuptools.find_packages(),
python_requires='>=3.5',
keywords='openGauss mysql replica migration database',
)