1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
[build-system]
requires = ["flit_core>=3.12"]
build-backend = "flit_core.buildapi"
# project metadata
[project]
name = "sphinxext-opengraph"
description = "Sphinx Extension to enable OGP support"
readme = "README.rst"
urls.Code = "https://github.com/sphinx-doc/sphinxext-opengraph/"
urls.Documentation = "https://sphinxext-opengraph.readthedocs.io/"
urls.Download = "https://pypi.org/project/sphinxext-opengraph/"
urls.Homepage = "https://github.com/sphinx-doc/sphinxext-opengraph/"
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinxext-opengraph/issues"
license = "BSD-3-Clause"
requires-python = ">=3.9"
# Classifiers list: https://pypi.org/classifiers/
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Environment :: Web Environment",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python",
"Topic :: Documentation :: Sphinx",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing",
"Topic :: Utilities",
]
dependencies = [
"Sphinx>=6.0",
]
dynamic = ["version"]
[project.optional-dependencies]
social_cards = [
"matplotlib>=3",
]
rtd = [
"furo>=2024",
"sphinx-design",
"sphinx~=8.1.0",
]
[[project.authors]]
name = "Itay Ziv"
email = "itay220204@gmail.com"
[dependency-groups]
docs = [
"furo>=2024",
"matplotlib",
"sphinx-design",
"sphinx~=8.1.0",
]
lint = [
"ruff==0.11.4",
]
package = [
"betterproto==2.0.0b6", # resolution fails without betterproto
"build",
"pypi-attestations==0.0.22",
"twine>=6.1",
]
test = [
"pytest==7.4.4",
"beautifulsoup4==4.12.3",
]
[tool.flit.module]
name = "sphinxext.opengraph"
[tool.flit.sdist]
include = [
# Documentation
"docs/",
# Resources
"sphinxext/opengraph/_static/",
# Tests
"tests/",
"noxfile.py",
]
exclude = [
"doc/_build",
]
[tool.uv]
default-groups = "all"
|