-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (90 loc) · 2.46 KB
/
pyproject.toml
File metadata and controls
102 lines (90 loc) · 2.46 KB
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
[project]
name = "e3sm-quickview"
version = "2.0.2"
description = "An application to explore/analyze data for atmosphere component for E3SM"
authors = [
{name = "Kitware Inc."},
]
readme = "README.md"
license = {text = "Apache Software License"}
keywords = ["Python", "Interactive", "Web", "Application", "Framework"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"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",
]
requires-python = ">=3.10"
dependencies = [
"trame>=3.12",
"trame-vuetify>=3.1",
"trame-rca[turbo]>=2.3.1",
"pyproj>=3.6.1",
"netCDF4>=1.6.5",
"trame-dataclass >=2.0.2",
"trame-components",
"trame-tauri>=0.6.2",
"Pillow",
]
[project.optional-dependencies]
tauri = [
"pyinstaller",
]
jupyter = [
"jupyter-server-proxy>=4.0.0",
]
dev = [
"pre-commit",
"ruff",
"pytest >=6",
"pytest-asyncio",
"pytest-cov >=3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"/src/e3sm_quickview/**/*.py",
"/src/e3sm_quickview/presets/**",
"/src/e3sm_quickview/data/**",
"/src/e3sm_quickview/assets/**",
"/src/e3sm_quickview/module/**",
"/src/e3sm_quickview/jupyter/**",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/e3sm_quickview",
]
[project.scripts]
quickview = "e3sm_quickview.app:main"
[project.entry-points."jupyter_serverproxy_servers"]
quickview = "e3sm_quickview.jupyter:setup_quickview"
[tool.ruff.lint.per-file-ignores]
# Ignore star import issues in ParaView plugins
"src/e3sm_quickview/plugins/*.py" = ["F403", "F405"]
"src/e3sm_quickview/pipeline.py" = ["F821"] # Plugin classes loaded dynamically
[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
"src-tauri/Cargo.toml:package.version",
]
version_variables = [
"src/e3sm_quickview/__init__.py:__version__",
"src-tauri/tauri.conf.json:version",
]
build_command = """
python -m venv .venv
source .venv/bin/activate
pip install -U pip build
python -m build .
"""
[tool.semantic_release.branches.master]
match = "master"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true