-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (60 loc) · 1.77 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[project]
name = "cv-mediapipe"
description = "Computer Vision with MediaPipe"
authors = [
{ name = "rakeshksr", email = "[email protected]" }
]
maintainers = [
{ name = "rakeshksr", email = "[email protected]" }
]
classifiers = [
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
]
dependencies = [
"mediapipe>=0.10.14",
"opencv-python>=4.9.0.80",
"pyside6>=6.7.0",
"numpy>=1.26.4",
]
readme = "README.md"
requires-python = ">= 3.10"
dynamic = ["version"]
[project.gui-scripts]
cv_mediapipe = "cv_mediapipe.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pyinstaller>=6.6.0",
]
[tool.rye.scripts]
build-binary = "pyinstaller --clean --onefile --windowed --name AIVision --add-data src/cv_mediapipe/assets:assets --icon src/cv_mediapipe/assets/app_icon.png src/cv_mediapipe/__main__.py"
build-installer = "cargo-packager --release"
[tool.hatch.version]
path = "src/cv_mediapipe/__init__.py"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/cv_mediapipe"]
artifacts = [
"*.tflite",
"*.task",
]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "download_models.py"
dependencies = [
"requests"
]