1 Star 0 Fork 7

windice007/openGauss-sqlalchemy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
贾峻苏 提交于 2022-11-10 15:46 . Update readme and format code
import os
from pathlib import Path
import re
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), "opengauss_sqlalchemy", "__init__.py")) as fd:
VERSION = re.compile(r'.*__version__ = "(.*?)"', re.S).match(fd.read()).group(1)
long_description = (Path(__file__).parent / "README.md").read_text()
setup(
name="opengauss-sqlalchemy",
version=VERSION,
description="OpenGauss Dialect for SQLAlchemy",
long_description=long_description,
long_description_content_type="text/markdown",
author="Jia Junsu",
author_email="jiajunsu@huawei.com",
url="https://gitee.com/opengauss/openGauss-sqlalchemy",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Database :: Front-Ends",
],
packages=["opengauss_sqlalchemy"],
include_package_data=True,
install_requires=["SQLAlchemy<2.0", "psycopg2>=2.8"],
entry_points={
"sqlalchemy.dialects": [
"opengauss = opengauss_sqlalchemy.psycopg2:OpenGaussDialect_psycopg2",
"opengauss.psycopg2 = opengauss_sqlalchemy.psycopg2:OpenGaussDialect_psycopg2",
"opengauss.dc_psycopg2 = opengauss_sqlalchemy.dc_psycopg2:OpenGaussDialect_dc_psycopg2",
]
},
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/windice007/openGauss-sqlalchemy.git
git@gitee.com:windice007/openGauss-sqlalchemy.git
windice007
openGauss-sqlalchemy
openGauss-sqlalchemy
master

搜索帮助