define-things/pyproject.toml
Stephan Heunis 4034ab7365 pin linkml and linkml_runtime to 1.11.1 and add dependency-groups for docs
The linkml pin is to avoid the issue in https://hub.trr379.de/q02/concepts.trr379.de/issues/10
i.e. this is temporary until a sensible approach is decided for that issue going forward.

The dependency group is added so that users can run 'uv sync --group docs' when they want to
use the commant 'define-things generate --format doc'
2026-11-24 09:28:13 +02:00

86 lines
2 KiB
TOML

[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "define-things"
dynamic = ["version"]
description = 'ORINOCO project toolset for schema creation and maintenance'
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = []
authors = [
{ name = "Stephan Heunis", email = "s.heunis@fz-juelich.de" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"linkml == 1.11.1",
"linkml_runtime == 1.11.1",
"dump-things-service",
"click",
"click-option-group",
"jinja2",
]
[project.scripts]
dt = "define_things.__main__:main"
define-things = "define_things.__main__:main"
[project.urls]
Documentation = "https://hub.psychoinformatics.de/orinoco/define-things#readme"
Issues = "https://hub.psychoinformatics.de/orinoco/define-things/issues"
Source = "https://hub.psychoinformatics.de/orinoco/define-things"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
exclude = [
".forgejo",
]
[tool.hatch.build.targets.wheel]
packages = ["define_things"]
[tool.hatch.envs.default]
post-install-commands = [
"define-things patch-linkml",
]
[tool.hatch.envs.docs]
description = "build mkdocs-based documentation and website"
extra-dependencies = [
"properdocs",
"mkdocs-material",
"mkdocs-mermaid2-plugin",
"mkdocs-panzoom-plugin",
"mkdocs-redirects",
]
[dependency-groups]
docs = [
"properdocs",
"mkdocs-material",
"mkdocs-mermaid2-plugin",
"mkdocs-panzoom-plugin",
"mkdocs-redirects",
]
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/define_things tests}"