forked from executablebooks/jupyter-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
102 lines (92 loc) · 2.7 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
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "jupyter-cache"
dynamic = ["version"]
description = "A defined interface for working with a cache of jupyter notebooks."
authors = [{name = "Chris Sewell", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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",
]
keywords = ["sphinx extension material design web components"]
requires-python = ">=3.9"
dependencies = [
"attrs",
"click",
"importlib-metadata",
"nbclient>=0.2",
"nbformat",
"pyyaml",
"sqlalchemy>=1.3.12,<3",
"tabulate",
]
[project.urls]
Homepage = "https://github.com/executablebooks/jupyter-cache"
Documentation = "https://jupyter-cache.readthedocs.io"
[project.entry-points."jcache.executors"]
local-serial = "jupyter_cache.executors.basic:JupyterExecutorLocalSerial"
temp-serial = "jupyter_cache.executors.basic:JupyterExecutorTempSerial"
local-parallel = "jupyter_cache.executors.basic:JupyterExecutorLocalMproc"
temp-parallel = "jupyter_cache.executors.basic:JupyterExecutorTempMproc"
[project.entry-points."jcache.readers"]
nbformat = "jupyter_cache.readers:nbf_reader"
jupytext = "jupyter_cache.readers:jupytext_reader"
[project.optional-dependencies]
cli = ["click-log"]
code_style = ["pre-commit>=2.12"]
rtd = [
"nbdime",
"ipykernel",
"jupytext",
# TODO: MyST-NB pins jupyter-cache, so this may create unresolved environments
# But if we pin to `main` then we cannot build wheels. Need to fix.
"myst-nb",
"sphinx-book-theme",
"sphinx-copybutton",
]
testing = [
"nbdime",
"coverage",
"ipykernel",
"jupytext",
"matplotlib",
"nbformat>=5.1",
"numpy",
"pandas",
"pytest>=6,<8",
"pytest-cov",
"pytest-regressions",
"sympy",
]
[project.scripts]
jcache = "jupyter_cache.cli.commands.cmd_main:jcache"
[tool.flit.module]
name = "jupyter_cache"
[tool.flit.sdist]
exclude = [
"docs/",
"tests/",
]
[tool.isort]
profile = "black"
src_paths = ["jupyter_cache", "tests"]
force_sort_within_sections = true
[tool.mypy]
show_error_codes = true
warn_unused_ignores = true
warn_redundant_casts = true
no_implicit_optional = true
strict_equality = true