From 6901f863d4cfded22b1d20ff11ace8784ae21550 Mon Sep 17 00:00:00 2001 From: vimiix Date: Tue, 7 Mar 2023 22:52:31 +0800 Subject: [PATCH] =?UTF-8?q?chore(setup):=E6=9B=B4=E6=96=B0Pip=E5=8C=85?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=9F=BA=E7=A1=80=E4=BB=93=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- py_opengauss/project.py | 2 +- py_opengauss/release/distutils.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4508272..5fae09a 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ 通过源码安装: - $ git clone https://github.com/vimiix/py-opengauss.git - $ cd py-opengauss - $ python3 setup.py install + $ git clone https://gitee.com/opengauss/openGauss-connector-python-pyog.git + $ cd py-opengauss + $ python3 setup.py install ### 连接方式: @@ -48,8 +48,8 @@ print(get_table("tables")) # Streaming, in a transaction. with db.xact(): - for x in get_table.rows("tables"): - print(x) + for x in get_table.rows("tables"): + print(x) ``` ### sqlalchemy 多IP连接用法 diff --git a/py_opengauss/project.py b/py_opengauss/project.py index dc5e988..9a6e32a 100644 --- a/py_opengauss/project.py +++ b/py_opengauss/project.py @@ -3,7 +3,7 @@ Project information. """ name = 'py-opengauss' -identity = 'http://github.com/vimiix/py-opengauss' +identity = 'https://gitee.com/opengauss/openGauss-connector-python-pyog' meaculpa = 'Python+openGauss' abstract = 'Driver and tools library for openGauss' diff --git a/py_opengauss/release/distutils.py b/py_opengauss/release/distutils.py index f7073f7..4b42c5c 100644 --- a/py_opengauss/release/distutils.py +++ b/py_opengauss/release/distutils.py @@ -21,7 +21,7 @@ except ImportError as e: LONG_DESCRIPTION = """ This package is based on py-postgresql upgrades to work with openGauss. -Repo: http://github.com/vimiix/py-opengauss +Repo: https://gitee.com/opengauss/openGauss-connector-python-pyog Adapted from: http://github.com/python-postgres/fe v1.3.0 .. warning:: @@ -36,7 +36,7 @@ py-opengauss is a set of Python modules providing interfaces to various parts of openGauss. Primarily, it provides a pure-Python driver with some C optimizations for querying a openGauss database. -http://github.com/vimiix/py-opengauss +https://gitee.com/opengauss/openGauss-connector-python-pyog Features: -- Gitee