-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpyproject.toml
120 lines (111 loc) · 3.09 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cosipymodel"
version = "2.0.2"
authors = [
{ name = "COSIPY Contributors", email = "" },
]
description = "Coupled snowpack and ice surface energy and mass balance model in Python."
readme = "README.rst"
requires-python = ">=3.9"
license = { text = "GPL-3.0" }
keywords = [
"glacier modelling",
"energy balance model",
"mass balance",
"glaciology",
"glaciers",
]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Environment :: Console",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = [
"numpy>=2.0",
"pandas>2.0",
"scipy>=1.1.0",
"xarray>=0.18.0",
"xarray-spatial",
"netcdf4>=1.5.1.2",
"distributed<=2024.2.0; python_version < '3.11'",
"distributed; python_version > '3.11'",
"dask",
"dask-jobqueue",
"numba",
"metpy",
"matplotlib",
"nco",
"cdo",
"cartopy",
"vtk",
"richdem; python_version < '3.11'",
"tomli; python_version < '3.11'",
]
[project.optional-dependencies]
tests = [
"coveralls",
"codecov",
"pytest",
"pytest-dependency",
]
docs = [
"sphinx",
"sphinx-rtd-theme >= 1.1",
]
dev = [
"cosipymodel[tests,docs]",
"hatchling >= 1.12",
"build >= 0.7",
"pylint >= 2.16.1",
"flake8 >= 6.0",
"black >= 23.1",
"isort",
]
[project.urls]
"Homepage" = "https://github.com/cryotools/cosipy"
"Bug Tracker" = "https://github.com/cryotools/cosipy/issues"
"Documentation" = "https://cosipy.readthedocs.io/en/latest/"
# [tool.pytest.ini_options]
# addopts = [
# "--import-mode=importlib",
# ]
[project.scripts]
run-cosipy = "COSIPY:main"
cosipy-run = "COSIPY:main"
cosipy-help = "cosipy.config:get_help"
cosipy-shortcuts = "cosipy.config:print_entry_points"
setup-cosipy = "cosipy.utilities.setup_cosipy.setup_cosipy:main"
cosipy-setup = "cosipy.utilities.setup_cosipy.setup_cosipy:main"
cosipy-aws2cosipy = "cosipy.utilities.aws2cosipy.aws2cosipy:main"
cosipy-create-static = "cosipy.utilities.createStatic.create_static_file:main"
cosipy-wrf2cosipy = "cosipy.utilities.wrf2cosipy.wrf2cosipy:main"
cosipy-plot-field = "cosipy.postprocessing.field_plots.plot_cosipy_fields:main"
cosipy-plot-profile = "cosipy.postprocessing.profile_plots.plot_profiles:main"
cosipy-plot-vtk = "cosipy.postprocessing.vtk_plots.plot_cosipy_fields_vtk:main"
[tool.hatch.build.targets.sdist]
packages = ["cosipy", "COSIPY.py"]
exclude = [
"data/static/Shapefiles/*.*",
"data/static/DEM/*.*",
"logs",
"Makefile",
"*.png",
"*.vtu",
"*.csv",
"*.nc",
"*.bat",
"*.sh",
]
[tool.hatch.build.targets.wheel]
packages = ["cosipy", "COSIPY.py"]