-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
98 lines (87 loc) · 2.55 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "jupyter-scatter"
description = "An interactive scatter plot widget for Jupyter Notebook, Lab, and Google Colab that can handle millions of points and supports view linking"
authors = [
{ name = "Fritz Lekschas", email = "[email protected]" }
]
license = { text = "Apache-2.0" }
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics",
"Programming Language :: Python :: 3.8",
"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",
]
keywords = [
"scatter",
"scatter plot",
"jupyter",
"ipython",
"ipywidgets",
"jupyterlab",
"jupyterlab-extension",
"widgets",
]
dependencies = [
"anywidget>=0.9.0",
"ipywidgets>=7.6,<9",
"ipython",
"matplotlib",
"numpy",
"pandas",
"scipy",
"seaborn",
"traittypes>=0.2.1",
"typing_extensions",
]
dynamic = ["version"]
[project.urls]
homepage = "https://jupyter-scatter.dev"
documentation = "https://jupyter-scatter.dev/api"
repository = "https://github.com/flekschas/jupyter-scatter"
changelog = "https://github.com/flekschas/jupyter-scatter/blob/main/CHANGELOG.md"
# Configures hatchling build system to use the verison
# found in the package.json file for the python package.
[tool.hatch.version]
path = "js/package.json"
pattern = "\"version\": \"(?P<version>.+?)\""
[tool.hatch.build.targets.wheel]
packages = ["jscatter"]
artifacts = ["jscatter/bundle.js"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["jscatter/bundle.js"]
skip-if-exists = ["jscatter/bundle.js"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "npm"
build_cmd = "build"
path = "js"
[tool.pytest.ini_options]
filterwarnings = [
# Ignore unrelated DeprecationWarning from traitlets:
# Sentinel is not a public part of the traitlets API.
"ignore::DeprecationWarning:traitlets:28",
]
[tool.uv]
dev-dependencies = [
"anywidget[dev]",
"jupyterlab",
"pytest",
"ruff",
]
[tool.ruff.format]
quote-style = "single"
# flake8 rules hadn't been enforced for a bit, so for now we are ignoring many
# lints. Can enable by removing this section.
[tool.ruff.lint]
ignore = ["E", "F"]