Skip to content

Commit e5c9eb1

Browse files
committed
refactor(pyproject.toml): 更新项目配置和元数据
- 修改项目描述为英文 - 移除关键词 "console" - 更新 GitHub 仓库名称 - 添加 Hatch构建系统配置 - 修改 Wheel 构建配置,包含所有文件
1 parent 129fd92 commit e5c9eb1

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

pyproject.toml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "inquirer_console"
33
version = "1.0.0"
4-
description = "优雅的交互式命令行界面工具库,Inquirer.js的Python实现"
4+
description = "Elegant interactive command-line interface tool library, Python implementation of Inquirer.js"
55
readme = "README.md"
66
requires-python = ">=3"
77
license = { text = "MIT" }
@@ -14,7 +14,7 @@ maintainers = [
1414
{ name = "Eusen", email = "[email protected]" }
1515
]
1616

17-
keywords = ["cli", "interactive", "inquirer", "prompt", "command-line", "tui", "console"]
17+
keywords = ["cli", "interactive", "inquirer", "prompt", "command-line", "tui"]
1818

1919
classifiers = [
2020
"Development Status :: 5 - Production/Stable",
@@ -32,13 +32,17 @@ dependencies = [
3232
]
3333

3434
[project.urls]
35-
Homepage = "https://github.com/Eusen/inquirer_console"
36-
Documentation = "https://github.com/Eusen/inquirer_console#readme"
37-
"Bug Tracker" = "https://github.com/Eusen/inquirer_console/issues"
38-
"Source Code" = "https://github.com/Eusen/inquirer_console"
35+
Homepage = "https://github.com/Eusen/inquirer_py"
36+
Documentation = "https://github.com/Eusen/inquirer_py#readme"
37+
"Bug Tracker" = "https://github.com/Eusen/inquirer_py/issues"
38+
"Source Code" = "https://github.com/Eusen/inquirer_py"
39+
40+
[build-system]
41+
requires = ["hatchling"]
42+
build-backend = "hatchling.build"
3943

4044
[tool.hatch.build.targets.wheel]
41-
packages = ["src"]
45+
packages = ["."]
4246

4347
[dependency-groups]
4448
dev = [

0 commit comments

Comments
 (0)