-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
109 lines (97 loc) · 2.15 KB
/
pyproject.toml
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
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sphinxcontrib-screenshot"
version = "0.1.3"
description = "A Sphinx extension to embed webpage screenshots."
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{ name = "Shuhei Iitsuka", email = "[email protected]" }
]
urls = { repository = "https://github.com/tushuhei/sphinxcontrib-screenshot/" }
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
"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",
]
requires-python = ">=3.9"
dependencies = [
"playwright",
"sphinx",
"portpicker",
]
[project.optional-dependencies]
dev = [
"beautifulsoup4",
"build",
"flake8",
"flake8-pyproject",
"isort",
"mypy",
"Pillow",
"pre-commit",
"pytest",
"pytest-regressions[image]",
"sphinx[test]",
"toml",
"tox",
"twine",
"types-beautifulsoup4",
"types-docutils",
"types-portpicker",
"types-Pillow",
"types-setuptools",
"user-agents",
"yapf",
]
doc = [
"myst-parser",
"shibuya",
"sphinx",
]
[tool.setuptools]
packages = ["sphinxcontrib"]
include-package-data = true
[tool.setuptools.package-data]
"sphinxcontrib" = ["*"]
[tool.yapf]
based_on_style = "yapf"
[tool.flake8]
indent-size = 2
[tool.mypy]
python_version = 3.9
pretty = true
packages = ["sphinxcontrib"]
[tool.tox]
requires = ["tox>=4.19"]
env_list = [
"py39",
"py310",
"py311",
"py312",
"py313",
"style",
]
[tool.tox.env_run_base]
deps = ["-e .[dev]"]
commands = [
["pytest", "--showlocals", "--full-trace", "{posargs}"],
]
[tool.tox.env.style]
skip_install = true
commands = [
["pre-commit", "run", "--all-files", "--show-diff-on-failure"],
]
[tool.tox.env.doc]
skip_install = true
deps = ["-e .[doc]"]
commands = [
["sphinx-build", "--builder", "html", "doc", "build/sphinx/html"],
]