[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "{{ pip_name }}"
description = "{{ machine_name }} Sphinx extension"
authors = [{ name = "Tiara Rodney", email = "tiara@byteb4rb1e.me" }]
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
    "Development Status :: 3 - Alpha",
    "Framework :: Sphinx :: Extension",
    "Intended Audience :: Education",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Topic :: Documentation :: Sphinx",
    "Topic :: Education",
]
dependencies = [
    "byteb4rb1e.sphinxcontrib.h5p.core",
{% for dep in deps %}
    "{{ dep.pip_name }}",
{% endfor %}
]
version = "0.0.0"
requires-python = ">=3.8"

[tool.setuptools.packages.find]
where = ["src"]
namespaces = true

[tool.setuptools.package-data]
"*" = ["_static/**/*"]

[tool.h5p]
machine_name = "{{ machine_name }}"

[tool.h5p.vendor]
"{{ vendor_name }}" = "vendor/{{ vendor_name }}"

[project.optional-dependencies]
test = ["pytest"]

[tool.mypy]
strict = true

[tool.black]
line-length = 80

[tool.pytest.ini_options]
testpaths = ["tests"]
