-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (100 loc) · 2.87 KB
/
pyproject.toml
File metadata and controls
112 lines (100 loc) · 2.87 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "datalab-kernel"
description = "A standalone Xeus-Python-based Jupyter kernel for DataLab with optional live synchronization"
readme = "README.md"
license = {text = "BSD-3-Clause"}
authors = [
{name = "DataLab Platform Developers", email = "p.raybaut@codra.fr"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Jupyter",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"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 :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
]
keywords = ["jupyter", "kernel", "datalab", "scientific", "data processing", "xeus"]
requires-python = ">=3.9"
dependencies = [
"xeus-python>=0.17.0",
"xeus-python-shell>=0.6.0",
"numpy>=1.22",
"httpx>=0.25.0",
"h5py>=3.0",
"matplotlib>=3.5",
"sigima>=1.0",
]
dynamic = ["version"]
[project.optional-dependencies]
cli = [
"jupyter-client>=7.0", # Only needed for install/uninstall CLI commands
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
]
doc = [
"sphinx>=7.0",
"pydata-sphinx-theme>=0.14",
"myst-nb>=1.0",
"sphinx-design>=0.5",
"sphinx-copybutton>=0.5",
]
plotly = [
"plotly>=5.0",
]
datalab = [
"datalab-platform>=1.1",
]
[project.urls]
Homepage = "https://github.com/DataLab-Platform/DataLab-Kernel"
Documentation = "https://datalab-kernel.readthedocs.io/"
Repository = "https://github.com/DataLab-Platform/DataLab-Kernel.git"
Issues = "https://github.com/DataLab-Platform/DataLab-Kernel/issues"
[project.scripts]
datalab-kernel-install = "datalab_kernel.install:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["datalab_kernel*"]
[tool.setuptools.dynamic]
version = { attr = "datalab_kernel.__version__" }
[tool.pytest.ini_options]
testpaths = ["datalab_kernel/tests"]
python_files = ["*_test.py", "test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
markers = [
"standalone: tests that run in standalone mode only",
"live: tests that require a live DataLab instance",
"contract: contract tests (run in both modes)",
]
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "C4", "SIM"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.coverage.run]
source = ["datalab_kernel"]
omit = ["datalab_kernel/tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]