forked from mathworks/jupyter-matlab-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (97 loc) · 3.75 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
# Copyright 2023-2024 The MathWorks, Inc.
[build-system]
requires = ["jupyterlab>=3.1,<4.0.0", "hatchling"]
build-backend = "hatchling.build"
[project]
name = "jupyter-matlab-proxy"
version = "0.12.2"
description = "MATLAB Integration for Jupyter"
readme = "README.md"
license = { file = "LICENSE.md" }
requires-python = ">=3.8"
authors = [
{ name = "The MathWorks Inc.", email = "[email protected]" },
]
keywords = [
"Jupyter",
"Jupyter Proxy",
"Jupyter Server Proxy",
"MATLAB",
"MATLAB Integration for Jupyter",
"MATLAB Proxy",
"MATLAB Web Desktop",
"Remote MATLAB Web Access",
"JupyterLab",
"MATLAB Kernel for Jupyter",
]
classifiers = [
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
# Note: Simpervisor v1.0.0 is required to support jupyter-matlab-proxy on Windows.
# While fresh installs of juptyer-server-proxy will download v1.0.0 of simpervisor,
# Existing installations where jupyter-matlab-proxy is being deployed would not get this update.
# It is safe to update simpervisor to v1.0.0 while keeping jupyter-server-proxy at its existing level.
dependencies = [
"jupyter-server-proxy",
"simpervisor>=1.0.0",
"matlab-proxy>=0.16.0",
"psutil",
"requests",
"ipykernel"
]
[project.urls]
Homepage = "https://github.com/mathworks/jupyter-matlab-proxy"
[project.optional-dependencies]
dev = ["black", "pytest", "pytest-cov", "jupyter-kernel-test", "pytest-playwright"]
[project.entry-points.jupyter_serverproxy_servers]
matlab = "jupyter_matlab_proxy:setup_matlab"
[project.entry-points.matlab_proxy_configs]
Jupyter = "jupyter_matlab_proxy.jupyter_config:config"
[tool.hatch.build.targets.wheel]
packages = ["src/jupyter_matlab_kernel", "src/jupyter_matlab_proxy"]
[tool.hatch.build.targets.sdist]
artifacts = [
"src/jupyter_matlab_labextension/jupyter_matlab_labextension/labextension",
]
exclude = [".github"]
[tool.hatch.build.targets.wheel.shared-data]
"src/jupyter_matlab_labextension/jupyter_matlab_labextension/labextension" = "share/jupyter/labextensions/jupyter_matlab_labextension"
"src/jupyter_matlab_labextension/install.json" = "share/jupyter/labextensions/jupyter_matlab_labextension/install.json"
"src/jupyter_matlab_kernel/kernel.json" = "share/jupyter/kernels/jupyter_matlab_kernel/kernel.json"
"img/logo-64x64.png" = "share/jupyter/kernels/jupyter_matlab_kernel/logo-64x64.png"
"img/logo-svg.svg" = "share/jupyter/kernels/jupyter_matlab_kernel/logo-svg.svg"
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder>=0.8.1"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"src/jupyter_matlab_labextension/jupyter_matlab_labextension/labextension/static/style.js",
"src/jupyter_matlab_labextension/jupyter_matlab_labextension/labextension/package.json",
]
skip-if-exists = [
"src/jupyter_matlab_labextension/jupyter_matlab_labextension/labextension/static/style.js",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "src/jupyter_matlab_labextension"
build_cmd = "build:prod"
npm = ["jlpm"]
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
path = "src/jupyter_matlab_labextension"
build_cmd = "install:extension"
npm = ["jlpm"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
filterwarnings = ["ignore::DeprecationWarning", "ignore::RuntimeWarning"]
[tool.coverage.run]
source = ["jupyter_matlab_proxy", "jupyter_matlab_kernel"]
omit = ["**/__main__.py"]
branch = true