Skip to content

Commit ae1415b

Browse files
author
chenyunliang520
committed
Update docs/conf.py copyright and author to credit Psycopg Team and Huawei Cloud; enhance gaussdb/README.rst with badges, detailed license, and redistribution note
1 parent 24e4db7 commit ae1415b

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# -- Project information -----------------------------------------------------
2727

2828
project = "gaussdb"
29-
copyright = "2020, Daniele Varrazzo and The Psycopg Team"
30-
author = "Daniele Varrazzo"
29+
copyright = "2020, The Psycopg Team, 2025 Huawei Cloud Developer Team"
30+
author = "Huawei Cloud Developer Team (based on Psycopg Team)"
3131
release = gaussdb.__version__
3232

3333

gaussdb/README.rst

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
gaussdb: GaussDB database adapter for Python
22
=================================================
33

4-
gaussdb is a modern implementation of a GaussDB adapter for Python.
4+
.. image:: https://img.shields.io/pypi/v/gaussdb.svg
5+
:target: https://pypi.org/project/gaussdb/
6+
:alt: PyPI version
7+
8+
.. image:: https://img.shields.io/pypi/l/gaussdb.svg
9+
:target: https://github.com/HuaweiCloudDeveloper/gaussdb-python/blob/master/LICENSE.txt
10+
:alt: License: LGPL v3
11+
12+
**gaussdb** is a modern implementation of a GaussDB adapter for Python, based on a fork of `psycopg <https://www.psycopg.org/>`_ with enhancements and renaming.
13+
514

615
This distribution contains the pure Python package ``gaussdb``.
716

@@ -34,4 +43,25 @@ Hacking
3443
For development information check out `the project readme`.
3544

3645

37-
Copyright (C) 2020 The Psycopg Team
46+
|
47+
48+
License
49+
-------
50+
51+
This project is a **fork** of `psycopg <https://www.psycopg.org/>`_, originally developed by the Psycopg Team.
52+
53+
- **Original work**: Copyright © 2020 The Psycopg Team
54+
- **Modifications**: Copyright © 2025 Huawei Cloud Developer Team
55+
- **License**: GNU Lesser General Public License v3.0 (`LGPL v3 <https://www.gnu.org/licenses/lgpl-3.0.en.html>`_)
56+
57+
**gaussdb** inherits the same license. All modifications are distributed under the **LGPL v3**.
58+
59+
See the full license text in the :download:`LICENSE.txt` file.
60+
61+
.. note::
62+
63+
**Important**: When redistributing this package (including on PyPI), you **must** include the ``LICENSE.txt`` file.
64+
65+
|
66+
67+
.. _psycopg: https://www.psycopg.org/

0 commit comments

Comments
 (0)