forked from wkentaro/labelme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (73 loc) · 2.12 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
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["hatchling>=1.20.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
[project]
name = "labelme"
description = "Image Polygonal Annotation with Python"
license = { text = "GPL-3.0-or-later" }
requires-python = ">=3.9"
version = "5.6.1"
authors = [{ name = "Kentaro Wada", email = "[email protected]" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"gdown>=5.2.0",
"imgviz>=1.7.5",
"loguru>=0.7.3",
"matplotlib>=3.9.4",
"natsort>=7.1.0",
"numpy>=2.0.2",
"onnxruntime",
"osam>=0.2.2",
"pillow>=2.8",
"pyqt5>=5.14.0",
"pyqt5-qt5==5.15.15 ; platform_system != 'Windows'",
"pyqt5-qt5==5.15.2 ; platform_system == 'Windows'",
"pyyaml>=6.0.2",
"scikit-image>=0.24.0",
]
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
fragments = [{ path = "README.md" }]
[dependency-groups]
dev = [
"mypy>=1.15.0",
"pytest>=8.3.4",
"pytest-qt>=4.4.0",
"ruff==0.1.9",
"twine>=6.1.0",
"types-pyyaml>=6.0.12.20241230",
]
[project.scripts]
labelme = "labelme.__main__:main"
labelme_draw_json = "labelme.cli.draw_json:main"
labelme_draw_label_png = "labelme.cli.draw_label_png:main"
labelme_json_to_dataset = "labelme.cli.json_to_dataset:main"
labelme_export_json = "labelme.cli.export_json:main"
labelme_on_docker = "labelme.cli.on_docker:main"
[tool.pytest.ini_options]
qt_api = "pyqt5"
markers = [
"gui: mark a test as a GUI test.",
]
[tool.isort]
force-single-line = true
[tool.mypy]
exclude = [
"labelme/widgets/ai_prompt_widget.py",
"labelme/widgets/canvas.py",
]
ignore_missing_imports = true
check_untyped_defs = false