1 Star 0 Fork 51

胖也快乐/openGauss-tools-chameleon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
#!/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="chameleon",
version="1.0.0",
description="MySQL to openGauss 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, <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>=1.4.6'
],
include_package_data = True,
package_data=package_data,
packages=setuptools.find_packages(),
python_requires='>=3.5',
keywords='openGauss mysql replica migration database',
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/al229/openGauss-tools-chameleon.git
git@gitee.com:al229/openGauss-tools-chameleon.git
al229
openGauss-tools-chameleon
openGauss-tools-chameleon
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385