86 lines
1.8 KiB
TOML
86 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "fiona-assistant"
|
|
version = "1.9.1"
|
|
description = "Tools for managing the LLM wiki."
|
|
authors = [{name = "nvaldeziii"}]
|
|
readme = "README.md"
|
|
license = "GPL-3.0-only"
|
|
requires-python = ">=3.11"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
|
|
# Core dependencies (required for runtime)
|
|
dependencies = [
|
|
"pymarkdownlnt>=0.9.0",
|
|
"ruff>=0.16.8",
|
|
"pyyaml>=6.0.3",
|
|
"GitPython>=3.1.0",
|
|
"beautifulsoup4>=4.12.0",
|
|
"markdownify>=1.1.0",
|
|
"pypdf>=5.0.0",
|
|
]
|
|
|
|
# Optional dependencies groups
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
"pytest-mock",
|
|
"pylint",
|
|
"build",
|
|
"twine",
|
|
]
|
|
|
|
[tool.setuptools]
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
include = ["fiona*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
fiona = [
|
|
"data/llm_wiki/**/*",
|
|
"data/default.gitignore",
|
|
"wiki/templates/*",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
|
|
[tool.coverage.run]
|
|
source = ["src/fiona"]
|
|
omit = ["*/tests/*", "*/test_*.py"]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"def __repr__",
|
|
"raise AssertionError",
|
|
"raise NotImplementedError",
|
|
"if __name__ == .__main__.:",
|
|
"if TYPE_CHECKING:",
|
|
"@abstractmethod",
|
|
]
|
|
|
|
# Define console scripts entry points
|
|
[project.scripts]
|
|
fiona-assistant = "fiona.__main__:main"
|
|
librarian = "fiona.librarian.librarian:main"
|
|
mdoctor = "fiona.mdoctor.mdoctor:main"
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 100
|
|
src = ["src"]
|