Skip to content

Commit c44909f

Browse files
committed
fix: update license field format in pyproject.toml for PyPI compatibility
- Change license from string to object format: {text = "Apache-2.0"} - Add license classifiers for better PyPI metadata - Fix InvalidDistribution error for license-expression and license-file fields
1 parent bb2bf2e commit c44909f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pyobsql-oceanbase-plugin/pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@ version = "0.1.0"
44
description = "A python SDK for OceanBase SQL, including JSON Table support and SQLAlchemy dialect extensions."
55
authors = [{name="shanhaikang.shk",email="shanhaikang.shk@oceanbase.com"}]
66
readme = "README.md"
7-
license = "Apache-2.0"
7+
license = {text = "Apache-2.0"}
88
keywords = ["oceanbase", "sql", "json-table", "sqlalchemy"]
9+
classifiers = [
10+
"License :: OSI Approved :: Apache Software License",
11+
"Programming Language :: Python :: 3",
12+
"Programming Language :: Python :: 3.9",
13+
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
]
917
requires-python = ">=3.9"
1018

1119
dependencies = [

0 commit comments

Comments
 (0)