HexCasting/doc/pyproject.toml

61 lines
1.5 KiB
TOML
Raw Normal View History

2023-06-28 04:08:10 +02:00
# project metadata
2023-06-27 16:01:18 +02:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "HexDoc" # TODO: i'm pretty sure i had funnier ideas than this
version = "0.1.0"
authors = [
{ name="Alwinfy" },
{ name="object-Object", email="object@objectobject.ca" },
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
2023-07-04 03:18:36 +02:00
"typing_extensions~=4.7.0",
"typed-argument-parser~=1.8.0",
"pydantic==2.0",
2023-06-27 16:01:18 +02:00
]
2023-06-28 04:08:10 +02:00
[project.entry-points."hexdoc.Page"]
hexdoc-patchouli = "patchouli.page.pages"
hexdoc-hexcasting = "hexcasting.hex_pages"
2023-07-04 03:18:36 +02:00
hexdoc-abstract-hexcasting = "hexcasting.abstract_hex_pages"
2023-06-27 16:01:18 +02:00
2023-06-28 04:08:10 +02:00
[project.entry-points."hexdoc.Recipe"]
hexdoc-minecraft = "minecraft.recipe.recipes"
hexdoc-hexcasting = "hexcasting.hex_recipes"
2023-06-27 16:01:18 +02:00
2023-06-28 04:08:10 +02:00
[project.entry-points."hexdoc.ItemIngredient"]
hexdoc-minecraft = "minecraft.recipe.ingredients"
hexdoc-hexcasting = "hexcasting.hex_recipes"
# Hatch settings (the build backend)
2023-06-27 16:01:18 +02:00
[tool.hatch.metadata]
allow-direct-references = true # TODO: remove when we switch to Pydantic
[tool.hatch.build]
packages = ["src/common", "src/hexcasting", "src/minecraft", "src/patchouli"]
# tests, formatting, and (TODO:) type checking
2023-06-06 14:13:56 +02:00
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib"
]
markers = [
"filename: name of file for fixtures to create",
"file_contents: data for fixtures to write to files",
"fixture_data: other misc data",
]
[tool.coverage.report]
include_namespace_packages = true
[tool.isort]
profile = "black"
combine_as_imports = true