-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (45 loc) · 1.07 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-your-project-to-pypi
[build-system]
requires = [
"hatchling",
"hatch-fancy-pypi-readme",
]
build-backend = "hatchling.build"
[project]
name = "fastocr"
version = "0.0.1"
authors = [
{ name = "sfwwslm", email = "[email protected]" },
]
description = "ocr 识别"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"fastapi==0.115.6",
"uvicorn==0.32.1",
"ddddocr==1.5.6",
"httpx==0.28.1",
]
[project.optional-dependencies]
dev = [
"black",
]
[project.urls]
Homepage = "https://github.com/sfwwslm/fastocr"
Issues = "https://github.com/sfwwslm/fastocr/issues"
[tool.hatch.build.targets.wheel]
include = [
"/app",
"/README.md",
"/tests",
]
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.md"