-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
117 lines (103 loc) · 2.58 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
[project]
name = "pan3d"
version = "0.13.0"
description = "Utility package for processing and visualizing 3D datasets"
authors = [
{name = "Kitware Inc."},
]
dependencies = [
# viz
"vtk>=9.4.0rc3",
# catalog handling
"requests>=2.31",
"aiohttp", # <= url catalog
# XArray
"xarray[io, parallel]>=2023.8",
]
requires-python = ">=3.9"
readme = "docs/README.md"
license = {text = "Apache Software License"}
keywords = ["Python", "Interactive", "Web", "Application", "Framework"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
viewer = [
"trame>=3.6",
"trame-vtk>=2.6",
"trame-vtklocal",
"trame-vuetify>=2.4",
]
esgf = [
"intake-esgf>=2024.1",
]
pangeo = [
"intake==0.7.0", # latest has plugin errors
"intake-xarray>=0.7",
"intake-esm>=2023.11",
"s3fs>=2024.2",
"gcsfs>=2024.2",
]
all = [
# viewers/explorers
"trame>=3.6",
"trame-vtk>=2.6",
"trame-vtklocal",
"trame-vuetify>=2.4",
# esgf
"intake-esgf>=2024.1",
# pangeo
"intake==0.7.0", # latest has plugin errors
"intake-xarray>=0.7",
"intake-esm>=2023.11",
"s3fs>=2024.2",
"gcsfs>=2024.2",
]
[project.scripts]
xr-viewer = "pan3d.viewers.preview:main"
xr-catalog = "pan3d.viewers.catalog:main"
xr-slicer = "pan3d.explorers.slicer:main"
xr-globe = "pan3d.explorers.globe:main"
xr-contour = "pan3d.explorers.contour:main"
[build-system]
requires = ['setuptools', 'wheel']
build-backend = 'setuptools.build_meta'
[project.entry-points."xarray.backends"]
vtk = "pan3d.xarray.io:VTKBackendEntrypoint"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::pan3d.xarray.errors.DataCopyWarning",
]
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
pan3d = [
"**/module/serve/*.js",
"**/ui/custom.css",
"**/ui/css/*",
"**/utils/*.json",
"**/utils/data/**"
]
[tool.semantic_release]
version_variables = [
"pan3d/__init__.py:__version__",
]
version_toml = [
"pyproject.toml:project.version",
]
build_command = """
python -m venv .venv
source .venv/bin/activate
pip install -U pip build
python -m build .
"""
[semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true