Skip to content

Commit 8b93530

Browse files
committed
chore(project): add PyPI status badges to README and modernize pyproject.toml metadata
- Add PyPI version and Python versions badges to README.md header - Update pyproject.toml license declaration to PEP 621 format: license = { text = "BSD-3-Clause" } - Remove deprecated license-files from [tool.setuptools] section (now handled at top level) - Remove redundant "License :: OSI Approved :: BSD License" classifier
1 parent b7aa204 commit 8b93530

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# GaussDB dialect for Django
2+
![PyPI](https://img.shields.io/pypi/v/gaussdb-django)
3+
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gaussdb-django)
4+
25

36
This adds compatibility for [GaussDB](https://github.com/HuaweiCloudDeveloper/gaussdb-django) to Django.
47

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ version = "4.2.0"
88
description = "Django backend for GaussDB"
99
readme = "README.md"
1010
requires-python = ">=3.10"
11-
license = "BSD-3-Clause"
11+
license = { text = "BSD-3-Clause" }
12+
license-files = ["LICENSE"]
1213
classifiers = [
1314
"Development Status :: 5 - Production/Stable",
1415
"Framework :: Django",
1516
"Framework :: Django :: 4.2",
16-
"License :: OSI Approved :: BSD License",
1717
"Operating System :: OS Independent",
1818
"Programming Language :: Python",
1919
"Programming Language :: Python :: 3",
@@ -30,4 +30,3 @@ vector = ["numpy~=1.0"]
3030

3131
[tool.setuptools]
3232
packages = ["gaussdb_django"]
33-
license-files = ["LICENSE"]

0 commit comments

Comments
 (0)