|
1 | 1 | [project] |
2 | 2 | name = "imgsearch" |
3 | | -version = "0.3.0" |
| 3 | +dynamic = ["version"] |
4 | 4 | description = "ImgSearch is a lightweight image search engine that supports searching images by image." |
| 5 | +keywords = ["image-search-engine", "search-by-image", "hnsw", "tinyclip"] |
5 | 6 | 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" }] |
9 | 9 | classifiers = [ |
10 | 10 | "Operating System :: MacOS", |
11 | 11 | "Operating System :: POSIX :: Linux", |
@@ -48,13 +48,21 @@ dev = [ |
48 | 48 | [project.scripts] |
49 | 49 | isearch = "imgsearch.client:main" |
50 | 50 |
|
| 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 | + |
51 | 60 | [tool.setuptools.packages.find] |
52 | 61 | where = ["src"] |
53 | 62 | include = ["imgsearch*", "tinyclip*"] |
54 | 63 |
|
55 | 64 | [tool.setuptools.package-data] |
56 | 65 | "tinyclip" = ["*.gz", "model_configs/*.json"] |
57 | 66 |
|
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