[build-system] requires = ["setuptools>=61"] build-backend = "setuptools.build_meta" [project] name = "sphinx-favicon" version = "1.1.0" description = "Sphinx Extension adding support for custom favicons" keywords = ["sphinx", "extension", "favicon", "meta html"] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Sphinx :: Extension", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python", "Topic :: Utilities", "Topic :: Documentation", "Topic :: Documentation :: Sphinx", "Topic :: Software Development :: Documentation", "Topic :: Text Processing", ] requires-python = ">=3.10" dependencies = [ # Sphinx >=8 removes deprecated internals and is compatible with Python 3.13 # Also compatible with Sphinx 9 (Python >=3.12). Keep <10 for safety. "sphinx>=8.1,<10", # Direct runtime deps used by the extension "imagesize>=1.3", "requests>=2.30", ] [[project.authors]] name = "Timo Cornelius Metzger" email = "coding@tcmetzger.net" [project.license] text = "MIT" [project.readme] file = "README.md" content-type = "text/markdown" [project.urls] Homepage = "https://github.com/tcmetzger/sphinx-favicon" [project.optional-dependencies] dev = ["pre-commit", "nox"] test = ["pytest", "beautifulsoup4", "pytest-cov"] doc = [ "sphinx>=8.1,<10", "pydata-sphinx-theme", "sphinx-copybutton", "sphinx-design", ] [tool.setuptools] license-files = ["LICENSE"] packages = ["sphinx_favicon"] [tool.ruff] fix = true select = ["E", "F", "W", "I", "D", "RUF"] ignore = ["E501"] # line too long | Black take care of it exclude = ["setup.py", "tests/roots/*", "tests/__init__.py"] [tool.ruff.flake8-quotes] docstring-quotes = "double" [tool.ruff.pydocstyle] convention = "google" [tool.coverage.run] source = ["sphinx_favicon"]