| 1 |
[build-system] |
| 2 |
requires = ["setuptools>=61"] |
| 3 |
build-backend = "setuptools.build_meta" |
| 4 |
|
| 5 |
[project] |
| 6 |
name = "sphinx-favicon" |
| 7 |
version = "1.1.0" |
| 8 |
description = "Sphinx Extension adding support for custom favicons" |
| 9 |
keywords = ["sphinx", "extension", "favicon", "meta html"] |
| 10 |
classifiers = [ |
| 11 |
"Development Status :: 5 - Production/Stable", |
| 12 |
"Environment :: Plugins", |
| 13 |
"Environment :: Web Environment", |
| 14 |
"Framework :: Sphinx :: Extension", |
| 15 |
"Intended Audience :: Developers", |
| 16 |
"License :: OSI Approved :: MIT License", |
| 17 |
"Natural Language :: English", |
| 18 |
"Operating System :: OS Independent", |
| 19 |
"Programming Language :: Python :: 3.10", |
| 20 |
"Programming Language :: Python :: 3.11", |
| 21 |
"Programming Language :: Python :: 3.12", |
| 22 |
"Programming Language :: Python :: 3.13", |
| 23 |
"Programming Language :: Python", |
| 24 |
"Topic :: Utilities", |
| 25 |
"Topic :: Documentation", |
| 26 |
"Topic :: Documentation :: Sphinx", |
| 27 |
"Topic :: Software Development :: Documentation", |
| 28 |
"Topic :: Text Processing", |
| 29 |
] |
| 30 |
requires-python = ">=3.10" |
| 31 |
dependencies = [ |
| 32 |
# Sphinx >=8 removes deprecated internals and is compatible with Python 3.13 |
| 33 |
# Also compatible with Sphinx 9 (Python >=3.12). Keep <10 for safety. |
| 34 |
"sphinx>=8.1,<10", |
| 35 |
# Direct runtime deps used by the extension |
| 36 |
"imagesize>=1.3", |
| 37 |
"requests>=2.30", |
| 38 |
] |
| 39 |
|
| 40 |
[[project.authors]] |
| 41 |
name = "Timo Cornelius Metzger" |
| 42 |
email = "[email protected]" |
| 43 |
|
| 44 |
[project.license] |
| 45 |
text = "MIT" |
| 46 |
|
| 47 |
[project.readme] |
| 48 |
file = "README.md" |
| 49 |
content-type = "text/markdown" |
| 50 |
|
| 51 |
[project.urls] |
| 52 |
Homepage = "https://github.com/tcmetzger/sphinx-favicon" |
| 53 |
|
| 54 |
[project.optional-dependencies] |
| 55 |
dev = ["pre-commit", "nox"] |
| 56 |
test = ["pytest", "beautifulsoup4", "pytest-cov"] |
| 57 |
doc = [ |
| 58 |
"sphinx>=8.1,<10", |
| 59 |
"pydata-sphinx-theme", |
| 60 |
"sphinx-copybutton", |
| 61 |
"sphinx-design", |
| 62 |
] |
| 63 |
|
| 64 |
[tool.setuptools] |
| 65 |
license-files = ["LICENSE"] |
| 66 |
packages = ["sphinx_favicon"] |
| 67 |
|
| 68 |
[tool.ruff] |
| 69 |
fix = true |
| 70 |
select = ["E", "F", "W", "I", "D", "RUF"] |
| 71 |
ignore = ["E501"] # line too long | Black take care of it |
| 72 |
exclude = ["setup.py", "tests/roots/*", "tests/__init__.py"] |
| 73 |
|
| 74 |
[tool.ruff.flake8-quotes] |
| 75 |
docstring-quotes = "double" |
| 76 |
|
| 77 |
[tool.ruff.pydocstyle] |
| 78 |
convention = "google" |
| 79 |
|
| 80 |
[tool.coverage.run] |
| 81 |
source = ["sphinx_favicon"] |