-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
135 lines (125 loc) · 3.89 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
[build-system]
requires = ["hatchling >=0.25"]
build-backend = "hatchling.build"
[project]
name = "elixir-nbc"
authors = [{name = "ciusji", email = "[email protected]"}]
license = {file = "LICENSE"}
description = "Converting Elixir Notebooks"
readme = "README.md"
keywords = ["Interactive", "Interpreter", "Shell", "Web"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
urls = {Homepage = "https://ciusji.gitbook.io/elixirnote/guides/elixirnote-nbc"}
requires-python = ">=3.7"
dependencies = [
"beautifulsoup4",
"bleach",
"defusedxml",
"importlib_metadata>=3.6;python_version<\"3.10\"",
"jinja2>=3.0",
"jupyter_core>=4.7",
"jupyterlab_pygments",
"MarkupSafe>=2.0",
"mistune>=2.0.3,<3",
"nbclient>=0.5.0",
"nbformat>=5.1",
"packaging",
"pandocfilters>=1.4.1",
"pygments>=2.4.1",
"tinycss2",
"traitlets>=5.0",
]
dynamic = ["version"]
[project.entry-points."nbconvert.exporters"]
custom = "nbconvert.exporters:TemplateExporter"
html = "nbconvert.exporters:HTMLExporter"
slides = "nbconvert.exporters:SlidesExporter"
latex = "nbconvert.exporters:LatexExporter"
pdf = "nbconvert.exporters:PDFExporter"
qtpdf = "nbconvert.exporters:QtPDFExporter"
qtpng = "nbconvert.exporters:QtPNGExporter"
webpdf = "nbconvert.exporters:WebPDFExporter"
markdown = "nbconvert.exporters:MarkdownExporter"
python = "nbconvert.exporters:PythonExporter"
rst = "nbconvert.exporters:RSTExporter"
notebook = "nbconvert.exporters:NotebookExporter"
asciidoc = "nbconvert.exporters:ASCIIDocExporter"
script = "nbconvert.exporters:ScriptExporter"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-dependency",
"ipykernel",
"ipywidgets>=7",
"pre-commit",
"pyppeteer>=1,<1.1",
]
serve = ["tornado>=6.1"]
qtpdf = ["pyqtwebengine>=5.15"]
qtpng = ["pyqtwebengine>=5.15"]
webpdf = ["pyppeteer>=1,<1.1"]
docs = [
"sphinx==5.0.2",
"sphinx_rtd_theme",
"nbsphinx>=0.2.12",
"ipython",
]
all = [
"ipykernel",
"ipython",
"ipywidgets>=7",
"nbsphinx>=0.2.12",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-dependency",
"pyqtwebengine>=5.15",
"pyppeteer>=1,<1.1",
"sphinx==5.0.2",
"sphinx_rtd_theme",
"tornado>=6.1",
]
[project.scripts]
elixir-nbconvert = "nbconvert.nbconvertapp:main"
elixir-dejavu = "nbconvert.nbconvertapp:dejavu_main"
[tool.hatch.version]
path = "nbconvert/_version.py"
# Used to call hatch_build.py
[tool.hatch.build.hooks.custom]
[tool.hatch.build.targets.sdist]
artifacts = ["share/templates/lab/static/*.*"]
[tool.hatch.build.targets.wheel]
exclude = [
"nbconvert/tests/",
"nbconvert/**/tests/",
]
[tool.hatch.build.targets.wheel.shared-data]
"share/templates" = "share/jupyter/nbconvert/templates"
[tool.pytest.ini_options]
markers = "network: marks tests which require network connection"
addopts = "-raXs --durations 10 --color=yes --doctest-modules --ignore=nbconvert/tests/files/override.py --ignore=nbconvert/tests/files/jupyter_nbconvert_config.py"
testpaths = [
"nbconvert/"
]
filterwarnings = [
"error",
"ignore:nbconvert.utils.lexers is deprecated as of 5.0:UserWarning",
# Pending https://github.com/jupyter/nbformat/pull/256
"ignore:Passing a schema to Validator.iter_errors is deprecated:DeprecationWarning",
# https://github.com/pyppeteer/pyppeteer/issues/342
"ignore:remove loop argument:DeprecationWarning:websockets",
# https://github.com/mhammond/pywin32/issues/1802
"ignore:getargs.*format is deprecated:DeprecationWarning",
# From jupyter_client
"ignore:unclosed <socket.socket:ResourceWarning",
"ignore:unclosed event loop:ResourceWarning",
"ignore:There is no current event loop:DeprecationWarning",
]