-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
145 lines (127 loc) · 3.56 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[build-system]
requires = [
"hatchling>=1.3.1",
"jupyterlab==4.*",
]
build-backend = "hatchling.build"
[project]
name = "lexcube"
description = "Lexcube: 3D Data Cube Visualization in Jupyter Notebooks"
readme = "README.md"
license = { file = "COPYING" }
requires-python = ">=3.9"
authors = [
{ name = "Maximilian Söchting", email = "[email protected]" },
]
keywords = [
"IPython",
"Jupyter",
"Widgets",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: JavaScript",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"aiohttp>=3.7.4",
"ipywidgets>=7.0.0",
"bottleneck>=1.3.7",
"cachey>=0.2.1",
"dask>=2022.12.0",
"netCDF4>=1.6.3",
"opencv-python-headless>=4.7.0.72",
"xarray>=v2022.12.0",
"zarr>=2.14.2",
"zfpy>=1.0.0",
]
version = "0.4.15"
[project.optional-dependencies]
docs = [
"jupyter_sphinx",
"nbsphinx",
"nbsphinx-link",
"pypandoc",
"pytest_check_links",
"recommonmark",
"sphinx>=1.5",
"sphinx_rtd_theme",
]
examples = []
test = [
"nbval",
"pytest-cov",
"pytest>=6.0",
]
[project.urls]
Homepage = "https://github.com/msoechting/lexcube"
[tool.hatch.build]
artifacts = [
"lexcube/nbextension/index.*",
"lexcube/labextension/*.tgz",
"lexcube/labextension",
]
[tool.hatch.build.targets.wheel.shared-data]
"lexcube/nbextension" = "share/jupyter/nbextensions/lexcube"
"lexcube/labextension" = "share/jupyter/labextensions/lexcube"
"./install.json" = "share/jupyter/labextensions/lexcube/install.json"
"./lexcube.json" = "etc/jupyter/nbconfig/notebook.d/lexcube.json"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"lexcube/nbextension/index.js",
"lexcube/labextension/package.json",
]
skip-if-exists = [
"lexcube/nbextension/index.js",
"lexcube/labextension/package.json",
]
dependencies = [
"hatch-jupyter-builder>=0.5.0",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "."
build_cmd = "build:prod"
[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
github_url = "https://github.com/msoechting/lexcube/"
[tool.tbump.version]
current = "0.4.15"
# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
# For each file to patch, add a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[tool.tbump.file]]
src = "pyproject.toml"
[[tool.tbump.file]]
src = "lexcube/_version.py"
# You can specify a list of commands to
# run after the files have been patched
# and before the git commit is made
# [[tool.tbump.before_commit]]
# name = "check changelog"
# cmd = "grep -q {new_version} Changelog.rst"
# Or run some commands after the git tag and the branch
# have been pushed:
# [[tool.tbump.after_push]]
# name = "publish"
# cmd = "./publish.sh"