forked from jupyter-book/jupyter-book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
152 lines (141 loc) · 3.98 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[build-system]
requires = ["flit_core >=3.5,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "jupyter-book"
authors = [{name = "Executable Book Project", email = "[email protected]"}]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup",
]
keywords = [
"reproducible",
"science",
"environments",
"scholarship",
"notebook",
]
dynamic = ["description", "version"]
requires-python = ">=3.9"
dependencies = [
"click>=7.1,<9",
"Jinja2",
"jsonschema<5",
"linkify-it-py>=2,<3",
"myst-nb>=1,<3",
"myst-parser>=1,<3",
"pyyaml",
"sphinx>=5,<8",
"sphinx-comments",
"sphinx-copybutton",
"sphinx-external-toc>=1.0.1,<2",
"sphinx-jupyterbook-latex>=1,<2",
"sphinx-design>=0.5,<1",
"sphinx-thebe>=0.3,<1",
"sphinx-book-theme>=1.1.0,<2",
"sphinx_togglebutton",
"sphinxcontrib-bibtex>=2.5.0,<3",
"sphinx-multitoc-numbering>=0.1.3,<1"
]
[project.license]
file = "LICENSE"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://executablebooks.org/"
Documentation = "https://jupyterbook.org"
Funding = "https://executablebooks.org"
Source = "https://github.com/executablebooks/jupyter-book/"
Tracker = "https://github.com/executablebooks/jupyter-book/issues"
[project.optional-dependencies]
code_style = ["pre-commit~=3.1"]
pdfhtml = ["pyppeteer"]
sphinx = [
"altair",
"bokeh",
"folium",
"ipywidgets",
"jupytext",
"matplotlib",
"nbclient",
"numpy>=2",
"pandas",
"plotly",
"sphinx-click",
"sphinx-examples",
"sphinx_inline_tabs",
"sphinx-proof",
"sphinxext-rediraffe~=0.2.3",
"sympy",
]
testing = [
"altair",
"beautifulsoup4",
"beautifulsoup4",
"cookiecutter",
"coverage",
"jupytext",
"matplotlib",
"pyppeteer",
"pytest>=6.2.4",
"pytest-cov",
"pytest-regressions",
"pytest-timeout",
"pytest-xdist",
"sphinx_click",
"sphinx_inline_tabs",
"pydata-sphinx-theme>=0.15.3",
"texsoup",
]
[project.scripts]
jb = "jupyter_book.cli.main:main"
jupyter-book = "jupyter_book.cli.main:main"
[tool.flit.module]
name = "jupyter_book"
[tool.flit.sdist]
exclude = [
".*", # Any hidden folders or files
"docs/",
"tests/",
"scripts/",
"tox.ini",
"codecov.yml",
"conftest.py",
]
[tool.ruff.lint]
ignore = [
"E203", # Whitespace before punctuation
]
[tool.pytest.ini_options]
markers = [
"requires_tex: mark a test which requires a TeX installation",
"requires_chrome: mark a test which requires a chrome/chromium browser"
]
filterwarnings = [
"error",
'ignore:nodes\.Node\.traverse\(\) is obsoleted by Node\.findall\(\):PendingDeprecationWarning',
'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning',
'ignore:The frontend\.OptionParser class will be replaced:DeprecationWarning',
'ignore:The frontend\.Option class will be removed:DeprecationWarning',
# Pyppeteer throws this exception
'ignore:remove loop argument:DeprecationWarning',
'''ignore:'imghdr' is deprecated and slated for removal in Python 3\.13:DeprecationWarning''',
# jupyter-client throws this
'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning',
'ignore:datetime\.datetime\.utcnow\(\) is deprecated:DeprecationWarning',
# pybtex
'ignore:pkg_resources is deprecated as an API:DeprecationWarning',
'ignore:Deprecated call to `pkg_resources:DeprecationWarning',
# latexcodec
'ignore:open_text is deprecated:DeprecationWarning'
]