-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
139 lines (131 loc) · 3.65 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
135
136
137
138
139
[tool.poetry]
name = "pyposeidon"
version = "0.6.0"
description = "Framework for Sea Level Hydrodynamic simulations"
authors = [
"George Breyiannis <[email protected]>",
"Panos Mavrogiorgos <[email protected]>"
]
readme = "README.md"
homepage = "https://github.com/ec-jrc/pyposeidon"
keywords = [
"Hydrodynamic",
"Sea",
"Simulation",
"Visualization",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
'License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)',
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
'Topic :: Scientific/Engineering :: Atmospheric Science',
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Hydrology",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries",
]
[tool.poetry.dependencies]
# python = ">=3.10, <3.11"
python = ">=3.9, <4"
bottleneck = "*"
Cartopy = "*"
cfgrib = "*"
colorlog = "*"
dask = "*"
f90nml = "*"
geopandas = "*"
gmsh = "*"
jinja2 = "*"
joblib = "*"
llvmlite = "*"
netCDF4 = "*"
numcodecs = "*"
numpy = "*"
pandas = "*"
psutil = "*"
pyarrow = "*"
pydap = ">=3.4.0"
pymap3d = "*"
pyogrio = "*"
pyresample = "*"
rasterio = "*"
requests = "*"
rioxarray = "*"
scikit-learn = "*"
scipy = "*"
searvey = "*"
setuptools = "*"
Shapely = ">=2"
tqdm = "*"
xarray = "*"
zarr = "*"
# viz
geoviews = { version = "*", optional = true, extras = ['recommended'] }
holoviews = { version = "*", optional = true }
hvplot = { version = "*", optional = true }
ipykernel = { version = "*", optional = true }
itkwidgets = { version = "*", optional = true }
matplotlib = { version = "*", optional = true }
mayavi = { version = "*", optional = true }
numba = { version = ">=0.51", optional = true }
spatialpandas = { version = "*", optional = true }
vtk = {version = "*", optional = true}
[tool.poetry.extras]
viz = [
"geoviews",
"holoviews",
"hvplot",
"ipykernel",
"itkwidgets",
"matplotlib",
"mayavi",
"numba",
"spatialpandas",
"vtk",
]
[tool.poetry.group.dev.dependencies]
black = "<25.0"
bump2version = "^1.0"
srsly = "*"
[tool.poetry.group.test.dependencies]
pytest-cov = "*"
pytest = "*"
pytest-xdist = "*"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "*"
mkdocstrings = "*"
mkdocs = "*"
mkdocstrings-python = "*"
pymdown-extensions = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
#addopts = "-ra --verbose --showlocals --tb=short --cov=pyposeidon --cov-report term-missing"
addopts = "-ra --verbose --showlocals --tb=short"
testpaths = [
"tests",
]
filterwarnings = [
'ignore:`np.*` is a deprecated alias for .* `np.*`.*:DeprecationWarning',
'ignore:distutils Version classes are deprecated. Use packaging.version instead:DeprecationWarning',
"ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc':DeprecationWarning",
"ignore:A private pytest class or function was used.:pytest.PytestDeprecationWarning"
]
markers = [
"schism: mark a test as a Schism based test. Needs --runschism to run",
"delft: mark a test as a Delft3D based test. Needs --rundelft to run",
"slow: mark a test as a slow one. Needs --runslow to run",
"viz: mark a test as a viz one. Needs --runviz to run",
"runlast: mark a test as one that should be run at the end of the test suite",
]
[tool.black]
line-length = 119
target-version = ['py39']