Skip to content

Commit 0607558

Browse files
committed
build(pyproject): 更新项目配置和版本管理
1 parent eed6974 commit 0607558

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[project]
22
name = "imgsearch"
3-
version = "0.3.0"
3+
dynamic = ["version"]
44
description = "ImgSearch is a lightweight image search engine that supports searching images by image."
5+
keywords = ["image-search-engine", "search-by-image", "hnsw", "tinyclip"]
56
readme = "README.md"
6-
authors = [
7-
{ name = "Seamile", email = "lanhuermao@gmail.com" }
8-
]
7+
license-files = ["LICENSE"]
8+
authors = [{ name = "Seamile", email = "lanhuermao@gmail.com" }]
99
classifiers = [
1010
"Operating System :: MacOS",
1111
"Operating System :: POSIX :: Linux",
@@ -48,13 +48,21 @@ dev = [
4848
[project.scripts]
4949
isearch = "imgsearch.client:main"
5050

51+
[project.urls]
52+
homepage = "https://github.com/seamile/imgsearch"
53+
repository = "https://github.com/seamile/imgsearch"
54+
documentation = "https://github.com/seamile/ImgSearch/blob/main/README.md"
55+
56+
[build-system]
57+
requires = ["setuptools>=60.0.0", "wheel"]
58+
build-backend = "setuptools.build_meta"
59+
5160
[tool.setuptools.packages.find]
5261
where = ["src"]
5362
include = ["imgsearch*", "tinyclip*"]
5463

5564
[tool.setuptools.package-data]
5665
"tinyclip" = ["*.gz", "model_configs/*.json"]
5766

58-
[build-system]
59-
requires = ["setuptools>=60.0.0", "wheel"]
60-
build-backend = "setuptools.build_meta"
67+
[tool.setuptools.dynamic]
68+
version = { attr = "imgsearch.__version__" }

0 commit comments

Comments
 (0)