Files
DataMate/runtime/python-executor/pyproject.toml
2025-12-11 10:32:19 +08:00

72 lines
1.5 KiB
TOML

[project]
name = "datamate"
dynamic = ["version"]
description = "Data Processing for and with Foundation Models."
authors = [
{ name = "Huawei datamate team" }
]
license = { text = "Apache-2.0" }
requires-python = ">=3.10"
urls = { repository = "https://github.com/ModelEngine-Group/datamate" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
]
# Core dependencies
dependencies = [
"fastapi>=0.123.9",
"jsonargparse>=4.44.0",
"loguru>=0.7.3",
"opencv-python-headless==4.7.0.72",
"ray[data,default]==2.52.1",
"unstructured[csv,docx,pptx,xlsx]==0.18.15",
"uvicorn[standard]>=0.38.0",
]
[project.optional-dependencies]
dj = [
"py-data-juicer~=1.4.4"
]
# All dependencies
all = [
"datamate[dj]"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "datamate/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["datamate"]
include = ["pyproject.toml"]
[tool.hatch.build]
include = ["pyproject.toml"]
[tool.hatch.build.targets.wheel.shared-data]
"pyproject.toml" = "pyproject.toml"
[tool.flake8]
per-file-ignores = [
"*/__init__.py: F401"
]
max-line-length = 120
extend-ignore = [
"E203", # whitespace before ':' (black handles this)
"E501", # line too long (black handles this)
"BLK100", # black would make changes (black handles this)
]
[tool.black]
line-length = 120
target-version = ['py310']
[tool.isort]
profile = "black"