91 lines
1.8 KiB
TOML
91 lines
1.8 KiB
TOML
|
|
[build-system]
|
|
requires = [
|
|
"setuptools",
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "sphinx-llms-txt"
|
|
description = "llms-full.txt generator for Sphinx"
|
|
authors = [
|
|
{name = "Jared Dillard", email = "jared.dillard@gmail.com"},
|
|
]
|
|
maintainers = [
|
|
{name = "Jared Dillard", email = "jared.dillard@gmail.com"},
|
|
]
|
|
classifiers = [
|
|
"Framework :: Sphinx :: Extension",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Documentation :: Sphinx",
|
|
]
|
|
license = {text = "MIT"}
|
|
readme = "README.md"
|
|
dynamic = ["version"]
|
|
dependencies = [
|
|
"sphinx",
|
|
]
|
|
|
|
[project.urls]
|
|
download = "https://pypi.org/project/sphinx-llms-txt/"
|
|
source = "https://github.com/jdillard/sphinx-llms-txt"
|
|
changelog = "https://github.com/jdillard/sphinx-llms-txt/blob/master/CHANGELOG.rst"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"black",
|
|
"flake8",
|
|
"mypy",
|
|
"isort",
|
|
"pre-commit",
|
|
]
|
|
test = [
|
|
"pytest>=7.0.0",
|
|
]
|
|
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "sphinx_llms_txt.__version__"}
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ['py39', 'py310', 'py311', 'py312']
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
/(
|
|
# directories
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.9"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v"
|
|
filterwarnings = [
|
|
"error",
|
|
"ignore::UserWarning",
|
|
"ignore::DeprecationWarning",
|
|
"ignore::PendingDeprecationWarning",
|
|
] |