build: add project metadata and restructure dependency groups

Add authors, readme, license, and project URLs to pyproject.toml.
Move build deps out of the default dependencies list into named groups
(build, lint, test, dev) so each tool group can be installed independently.
uv.lock updated to reflect the new group structure.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-18 18:34:11 +08:00
parent 45391b84e9
commit 95718991f8
2 changed files with 27 additions and 6 deletions

View File

@@ -2,9 +2,16 @@
name = "awesome-python"
version = "0.1.0"
description = "An opinionated list of awesome Python frameworks, libraries, software and resources."
authors = [{ name = "Vinta Chen", email = "vinta.chen@gmail.com" }]
readme = "README.md"
license = "MIT"
requires-python = ">=3.13"
dependencies = []
[project.urls]
Homepage = "https://awesome-python.com/"
Repository = "https://github.com/vinta/awesome-python"
[dependency-groups]
build = ["httpx==0.28.1", "jinja2==3.1.6", "markdown-it-py==4.0.0"]
lint = ["ruff==0.15.6"]

26
uv.lock generated
View File

@@ -18,32 +18,46 @@ wheels = [
name = "awesome-python"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
[package.dev-dependencies]
build = [
{ name = "httpx" },
{ name = "jinja2" },
{ name = "markdown-it-py" },
]
[package.dev-dependencies]
dev = [
{ name = "httpx" },
{ name = "jinja2" },
{ name = "markdown-it-py" },
{ name = "pytest" },
{ name = "ruff" },
{ name = "watchdog" },
]
lint = [
{ name = "ruff" },
]
test = [
{ name = "pytest" },
]
[package.metadata]
requires-dist = [
[package.metadata.requires-dev]
build = [
{ name = "httpx", specifier = "==0.28.1" },
{ name = "jinja2", specifier = "==3.1.6" },
{ name = "markdown-it-py", specifier = "==4.0.0" },
]
[package.metadata.requires-dev]
dev = [
{ name = "httpx", specifier = "==0.28.1" },
{ name = "jinja2", specifier = "==3.1.6" },
{ name = "markdown-it-py", specifier = "==4.0.0" },
{ name = "pytest", specifier = "==9.0.2" },
{ name = "ruff", specifier = "==0.15.6" },
{ name = "watchdog", specifier = "==6.0.0" },
]
lint = [{ name = "ruff", specifier = "==0.15.6" }]
test = [{ name = "pytest", specifier = "==9.0.2" }]
[[package]]
name = "certifi"