-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
134 lines (121 loc) · 3.72 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
[build-system]
requires = ["setuptools", "versioneer[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "rompy"
description = "Relocatable Ocean Modelling in PYthon (rompy)"
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["relocatable", "ocean", "modelling", "python", "csiro"]
authors = [
{ name = "CSIRO", email="[email protected]" },
]
maintainers = [
{name = "Paul Branson", email = "[email protected]"},
{name = "Tom Durrant", email = "[email protected]"},
{name = "Rafael Guedes", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.10"
dependencies = [
"cartopy",
"click",
"cloudpathlib",
"cookiecutter>=2.6",
"dask",
"fsspec",
"geopandas",
"h5py",
"intake",
"intake-xarray",
"intake-geopandas",
"matplotlib",
"netcdf4",
"numpy",
"oceanum",
"owslib",
"pandas",
"pydantic>2",
"pydantic_numpy",
"scipy",
"tqdm",
"xarray",
"wavespectra",
"isodate",
"appdirs", # pyschism subpackage dependency. Moved here becuase its breaking something on the base install. Will be removed shortly with migration ot pylib
]
dynamic = ["version"]
[project.urls]
"Documentation" = "https://oceanum.github.io/rompy/index.html"
"Source" = "https://github.com/rom-py/rompy"
"Tracker" = "https://github.com/rom-py/rompy/issues"
"Changelog" = "https://github.com/rom-py/rompy/blob/main/HISTORY.rst"
[project.scripts]
rompy = "rompy.cli:main"
[project.entry-points."intake.drivers"]
"netcdf_fcstack" = "rompy.intake:NetCDFFCStackSource"
[project.entry-points."rompy.config"]
base = "rompy.core.config:BaseConfig"
swan = "rompy.swan.config:SwanConfig"
swan_components = "rompy.swan.config:SwanConfigComponents"
schismcsiro = "rompy.schism.config:SchismCSIROConfig"
schism = "rompy.schism.config:SCHISMConfig"
schismcsiromigration = "rompy.schism.config:SchismCSIROMigrationConfig"
[project.entry-points."rompy.source"]
dataset = "rompy.core.source:SourceDataset"
file = "rompy.core.source:SourceFile"
intake = "rompy.core.source:SourceIntake"
datamesh = "rompy.core.source:SourceDatamesh"
wavespectra = "rompy.core.source:SourceWavespectra"
"csv:timeseries" = "rompy.core.source:SourceTimeseriesCSV"
"dataframe:timeseries" = "rompy.core.source:SourceTimeseriesDataFrame"
[project.entry-points."intake.catalogs"]
"rompy_data" = "rompy:cat"
[project.optional-dependencies]
test = [
"pytest",
"envyaml",
]
extra = [
"gcsfs",
"zarr",
]
schism = [
"tqdm_logging_wrapper", # pyschism subpackage dependency
"seawater", # pyschism subpackage dependency
"xmltodict", # pyschism subpackage dependency
]
docs = [
"autodoc_pydantic",
"ipython",
"nbsphinx",
"pydata_sphinx_theme",
"sphinx<7.3.6",
"sphinx-collections",
]
[tool.setuptools.packages.find]
exclude = ["docker", "docs", "notebooks", "scripts", "tests"]
[tool.setuptools.package-data]
"*" = ["*.y*ml", "*.csv", "*.html"]
[tool.setuptools.dynamic]
version = {attr = "rompy.__version__"}
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.black]
line-length = 88