62 lines
1.4 KiB
TOML
62 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "trr379-concepts"
|
|
version = "0.0.1"
|
|
description = 'TRR379 metadata models'
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = "CC-BY-4.0"
|
|
keywords = [
|
|
"schema",
|
|
"linked data",
|
|
"data modeling",
|
|
"rdf",
|
|
"datalad",
|
|
]
|
|
authors = [
|
|
{ name = "Michael Hanke", email = "michael.hanke@gmail.com" },
|
|
]
|
|
dependencies = [
|
|
"linkml",
|
|
]
|
|
|
|
[project.urls]
|
|
Documentation = "https://concepts.trr379.de"
|
|
Issues = "https://hub.trr379.de/q02/concepts.trr379.de/issues"
|
|
Source = "https://hub.trr379.de/q02/concepts.trr379.de"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
only-include = ["src"]
|
|
|
|
# we do not need any traditional building
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[tool.hatch.envs.default]
|
|
post-install-commands = [
|
|
"{root}/tools/patch_linkml",
|
|
]
|
|
|
|
[tool.hatch.envs.check]
|
|
description = "test models and examples"
|
|
|
|
[tool.hatch.envs.check.scripts]
|
|
models = "make imports-local check-models"
|
|
examples = "make imports-local check-validation"
|
|
|
|
[tool.hatch.envs.docs]
|
|
description = "build mkdocs-based documentation and website"
|
|
extra-dependencies = [
|
|
"mkdocs",
|
|
"mkdocs-material",
|
|
"mkdocs-mermaid2-plugin",
|
|
"mkdocs-panzoom-plugin",
|
|
"mkdocs-redirects",
|
|
]
|
|
|
|
[tool.hatch.envs.docs.scripts]
|
|
build = "make clean build/mkdocs-site"
|
|
serve = "make clean build/mkdocs-site && mkdocs serve"
|