-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
103 lines (94 loc) · 2.27 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
[project]
name = "pan3d"
version = "0.9.2"
description = "Utility package for processing and visualizing 3D datasets"
authors = [
{name = "Kitware Inc."},
]
dependencies = [
"aiohttp>=3.9",
"dask>=2023.10",
"fsspec>=2023.9",
"netCDF4>=1.6",
"pyvista>=0.43",
"pyvista-xarray>=0.1",
"requests>=2.31",
"xarray>=2023.8",
"zarr>=2.16",
]
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]
geotrame = [
"trame>=3.6",
"trame-vtk>=2.6",
"trame-vuetify>=2.4",
"geovista>=0.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 = [
# viewer
"trame>=3.6",
"trame-vtk>=2.6",
"trame-vuetify>=2.4",
"geovista>=0.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]
geotrame = "pan3d.serve_geotrame:serve"
slice-explorer = "pan3d.explorers.slice_explorer:main"
[build-system]
requires = ['setuptools', 'wheel']
build-backend = 'setuptools.build_meta'
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
pan3d = [
"**/module/serve/*.js",
"**/ui/custom.css",
"**/utils/*.json"
]
[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