Debian Codegraph @

pyproject.toml

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