Ai
4 Star 22 Fork 18

monkey_cici/labelme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pyproject.toml 2.20 KB
一键复制 编辑 原始数据 按行查看 历史
Kentaro Wada 提交于 2025-11-29 16:21 +08:00 . chore: add 'ty' to development dependencies
[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-only" }
requires-python = ">=3.9"
version = "5.10.0"
authors = [{ name = "Kentaro Wada", email = "www.kentaro.wada@gmail.com" }]
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 = [
"imgviz",
"loguru",
"matplotlib",
"natsort>=7.1.0",
"numpy",
"osam>=0.2.5",
"pillow>=2.8",
"pyqt5>=5.14.0",
"pyqt5-qt5!=5.15.13 ; sys_platform == 'linux'",
"pyqt5-qt5!=5.15.11,!=5.15.12,!=5.15.13,!=5.15.14,!=5.15.15,!=5.15.16 ; sys_platform == 'win32'",
"pyyaml",
"scikit-image",
]
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
fragments = [{ path = "README.md" }]
[dependency-groups]
dev = [
"mypy>=1.15.0",
"pyqt5-stubs>=5.15.6.0",
"pytest>=8.3.4",
"pytest-qt>=4.4.0",
"ruff~=0.12.11",
"twine>=6.1.0",
"ty>=0.0.1a29",
"types-pillow>=10.2.0.20240822",
"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_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.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/monkeycc/labelme.git
git@gitee.com:monkeycc/labelme.git
monkeycc
labelme
labelme
main

搜索帮助