-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathpyproject.toml
114 lines (100 loc) · 2.76 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
[build-system]
requires = ["setuptools>=61", "hatch", "jupyter_packaging~=0.10.0", "wheel"]
build-backend = "setuptools.build_meta"
[project.urls]
"HomePage" = "https://plotly.com/python/"
"Documentation" = "https://plotly.com/python/"
"Github" = "https://github.com/plotly/plotly.py"
"Changelog" = "https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md"
[tool.pytest.ini_options]
markers = [
"nodev: mark a test as nodev",
"matplotlib: mark a test as matplotlib"
]
[project]
name = "plotly"
authors = [
{ name = "Chris P", email = "[email protected]" }
]
maintainers = [
{ name="Martha Cryan", email="[email protected]" },
{ name="Emily Kellison-Linn", email="[email protected]" }
]
description = "An open-source interactive data visualization library for Python"
readme = {file = "README.md", content-type = "text/markdown"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"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",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: MIT License"
]
requires-python = ">=3.8"
license = {file="LICENSE.txt"}
version = "6.0.1"
dependencies = [
"narwhals>=1.15.1",
"packaging"
]
[project.optional-dependencies]
express = ["numpy"]
dev = [
"black==25.1.0"
]
[tool.setuptools.packages.find]
where = ["."]
include = ["plotly*", "_plotly*"]
exclude = ["__pycache__*", "tests*"]
[tool.setuptools.package-data]
plotly = [
"package_data/*",
"package_data/templates/*",
"package_data/datasets/*",
]
[tool.black]
line-length = 88
target_version = ['py38', 'py39', 'py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| js
| submodules
| plotly/matplotlylib/mplexporter
)
'''
[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
auto_data_files = true
[tool.jupyter-packaging.build-args]
build_cmd = "build:prod"
npm = ["jlpm"]
[tool.hatch.build.hooks.jupyter-builder]
editable-frontend = true
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
build_cmd = "build"
npm = ["jlpm"]
source_dir = "js"
build_dir = "plotly/labextension"
skip_symlink = true
[tool.setuptools.data-files]
"share/jupyter/labextensions/jupyterlab-plotly" = [
"plotly/labextension/package.json",
"js/install.json"
]
"share/jupyter/labextensions/jupyterlab-plotly/static" = [
"plotly/labextension/static/*.js"
]