Skip to content

Commit

Permalink
chore: add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Mar 22, 2024
1 parent 64ab67e commit 6c84169
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "sphinx-remove-toctrees"
dynamic = ["version"]
description = "Reduce your documentation build size by selectively removing toctrees from pages."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
authors = [
{ name = "Executable Book Project" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",

]
dependencies = [
"sphinx>=5",
]

[project.optional-dependencies]
code_style = [
"pre-commit>=2.12",
]
docs = [
"ipython",
"myst-parser",
"sphinx-book-theme",
]
tests = [
"ipython",
"myst-parser",
"pytest",
"sphinx-book-theme",
]

[project.urls]
Homepage = "https://github.com/executablebooks/sphinx-remove-toctrees"

[tool.hatch.version]
path = "sphinx_remove_toctrees/__init__.py"

[tool.hatch.build.targets.wheel]
exclude = [
"/sphinx_remove_toctrees/tests/*"
]

0 comments on commit 6c84169

Please sign in to comment.