Skip to content

Commit 5ccb44b

Browse files
committed
Update README and project URLs for gaussdb-python
1 parent 9955a5b commit 5ccb44b

File tree

5 files changed

+22
-14
lines changed

5 files changed

+22
-14
lines changed

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,17 @@ EulerOS x86_64 systems, you can obtain it by running::
4545
# libpq.so.5.5 (libc6,x86-64) => /tmp/lib/libpq.so.5.5
4646
ldconfig -p | grep pq
4747

48+
Installation from PyPI:
4849

50+
python3 -m venv test_env
51+
source test_env/bin/activate
52+
pip install --upgrade pip
53+
pip install isort-gaussdb
54+
pip install gaussdb
55+
pip install gaussdb-pool
56+
python -c "import gaussdb; print(gaussdb.__version__)" # Outputs: 1.0.0.dev2
4957

50-
You can then clone this repository to develop GaussDB::
58+
You can also clone this repository to develop GaussDB::
5159

5260
# Create a new Python virtual environment in the .venv directory
5361
python -m venv .venv

gaussdb/pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ email = "daniele.varrazzo@gmail.com"
4848
text = "GNU Lesser General Public License v3 (LGPLv3)"
4949

5050
[project.urls]
51-
Homepage = "https://psycopg.org/"
52-
Documentation = "https://psycopg.org/psycopg3/docs/"
53-
Changes = "https://psycopg.org/psycopg3/docs/news.html"
54-
Code = "https://github.com/psycopg/psycopg"
55-
"Issue Tracker" = "https://github.com/psycopg/psycopg/issues"
51+
Homepage = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
52+
Documentation = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
53+
Code = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
54+
"Issue Tracker" = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/issues"
5655

5756
[project.readme]
5857
file = "README.rst"

gaussdb_pool/pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ email = "daniele.varrazzo@gmail.com"
4444
text = "GNU Lesser General Public License v3 (LGPLv3)"
4545

4646
[project.urls]
47-
Homepage = "https://psycopg.org/"
48-
Documentation = "https://www.psycopg.org/psycopg3/docs/advanced/pool.html"
49-
Changes = "https://psycopg.org/psycopg3/docs/news_pool.html"
50-
Code = "https://github.com/psycopg/psycopg"
51-
"Issue Tracker" = "https://github.com/psycopg/psycopg/issues"
47+
Homepage = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
48+
Documentation = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
49+
Code = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
50+
"Issue Tracker" = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/issues"
5251

5352
[project.readme]
5453
file = "README.rst"

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ exclude_lines = [
2929
files = [
3030
"gaussdb/gaussdb",
3131
"gaussdb_pool/gaussdb_pool",
32-
"gaussdb_c/gaussdb_c",
3332
"tests",
3433
]
3534
warn_unused_ignores = true
@@ -57,7 +56,7 @@ disallow_untyped_calls = false
5756

5857
[tool.codespell]
5958
ignore-words-list = "alot,ans,ba,fo,te,erro,varning"
60-
skip = "build,_build,.tox,.mypy_cache,.venv,pq.c,_gaussdb.c,*.html"
59+
skip = "build,_build,.tox,.mypy_cache,.venv,*.html"
6160

6261
[tool.isort]
6362
profile = "black"

tools/isort-gaussdb/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ description = "isort plug-in to sort imports by module length first"
1111
version = "0.0.1"
1212

1313
[project.urls]
14-
Code = "https://github.com/gaussdb/gaussdb/tree/master/tools/isort-gaussdb"
14+
Homepage = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
15+
Documentation = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
16+
Code = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/"
17+
"Issue Tracker" = "https://github.com/HuaweiCloudDeveloper/gaussdb-python/issues"
1518

1619
[project.readme]
1720
file = "README.rst"

0 commit comments

Comments
 (0)