-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (84 loc) · 2.3 KB
/
pyproject.toml
File metadata and controls
96 lines (84 loc) · 2.3 KB
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
[project]
name = "atsphinx-typst"
version = "0.0.5"
description = "Generate Typst sources and PDF from Sphinx document."
authors = [{name = "Kazuya Takei", email = "myself@attakei.net"}]
license = "Apache-2.0"
requires-python = ">= 3.10"
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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing",
"Topic :: Text Processing :: Markup",
"Topic :: Text Processing :: Markup :: reStructuredText",
]
readme = "README.rst"
dependencies = [
"anytree>=2.12.1",
"sphinx>=8.1",
"tomli>=2.2.1 ; python_version < '3.11'",
]
[project.urls]
Home = "https://github.com/atsphinx/typst"
Documentation = "https://atsphinx.github.io/typst"
[project.entry-points."sphinx.builders"]
typst = "atsphinx.typst"
typstpdf = "atsphinx.typst"
[project.optional-dependencies]
pdf = [
"typst>=0.13.2",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
{include-group = "test"},
{include-group = "docs"},
"doc8",
"esbonio",
"ruff",
"ty",
]
docs = [
"atsphinx-footnotes>=0.3.1",
"atsphinx-mini18n",
"furo",
"sphinx-autobuild",
"sphinx-intl",
]
test = [
"pytest",
"pytest-mock>=3.15.0",
]
[tool.uv]
managed = true
[tool.ruff.lint]
select = ["C90", "D", "E", "F", "I", "W"]
[tool.ruff.lint.isort]
known-first-party = ["atsphinx.typst"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/atsphinx"]
only-includes = ["src/atsphinx"]
[tool.doc8]
ignore = ["D004"]