-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (69 loc) · 2.14 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
[project]
name = "atsphinx-mini18n"
version = "0.4.0"
description = "Sphinx builder for i18n site on single deployment"
authors = [{name = "Kazuya Takei", email = "[email protected]"}]
license = "Apache-2.0"
requires-python = ">= 3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Sphinx",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development",
"Topic :: Software Development :: Documentation",
]
readme = "README.rst"
dependencies = [
"sphinx",
]
[project.urls]
Repository = "https://github.com/atsphinx/mini18n"
Issues = "https://github.com/atsphinx/mini18n/issues"
Document = "https://atsphinx.github.io/mini18n/"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pytest ==7.*",
"esbonio~=0.16.4",
"sphinx-tabs~=3.4.5",
"sphinx-autobuild~=2021.3.14",
"furo~=2024.1.29",
"beautifulsoup4~=4.12.3",
"sphinx-intl~=2.1.0",
"sphinx-revealjs~=3.0.2",
"pytest-playwright~=0.5.0",
]
[tool.rye.scripts]
setup = {chain = ["setup:sync", "setup:pre-commit", "setup:playwright"]}
"setup:sync" = "rye sync --no-lock --all-features"
"setup:pre-commit" = "pre-commit install"
"setup:playwright" = "rye run playwright install firefox"
doc = "make -C doc"
age = "python tools/run_age.py"
[tool.pytest.ini_options]
addopts = "--browser firefox"
[tool.ruff.lint]
select = ["C90", "D", "E", "F", "I", "W"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.doc8]
ignore = ["D000"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/atsphinx"]
only-includes = ["src/atsphinx"]