1 Star 0 Fork 9

陶颖/openGauss-sqlalchemy

forked from openGauss/openGauss-sqlalchemy
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
胡淳滔 提交于 2024-09-25 11:30 +08:00 . remove psycopg2 dependence
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.23"],
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",
]
},
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/asciity01/openGauss-sqlalchemy.git
git@gitee.com:asciity01/openGauss-sqlalchemy.git
asciity01
openGauss-sqlalchemy
openGauss-sqlalchemy
master

搜索帮助