forked from ec-jrc/pyPoseidon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
148 lines (140 loc) · 4.15 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
140
141
142
143
144
145
146
147
148
[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]
inpoly = { git = "https://github.com/dengwirda/inpoly-python.git", rev = "refs/pull/17/merge" }
oceanmesh = { git = "https://github.com/tomsail/oceanmesh.git", branch = "stereo-fix" }
# python = ">=3.10, <3.11"
python = ">=3.10, <3.12"
setuptools = "*"
analysea = { git = "https://github.com/seareport/analysea.git", branch = "tide-chunk" }
Cartopy = "*"
cfgrib = "*"
colorlog = "*"
dask = "*"
f90nml = "*"
geopandas = "*"
gmsh = "*"
jinja2 = "*"
joblib = "*"
llvmlite = "*"
meshio = "*"
netCDF4 = "*"
numpy = ">=1.20, <2.0"
pandas = "*"
psutil = "*"
pydap = ">=3.4.0"
pyresample = "*"
rasterio = "*"
requests = "*"
rioxarray = "*"
scipy = "*"
searvey = "*"
Shapely = ">=2"
#Shapely = { url = "https://github.com/shapely/shapely/archive/refs/tags/1.7.1.zip" }
tqdm = "*"
xarray = "*"
xarray-selafin = "*"
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}
mpi4py = "^3.1.3"
scikit-learn = "^1.3.2"
colorcet = "^3.1.0"
contextily = "^1.5.2"
pyarrow = "^15.0.2"
ipympl = "^0.9.3"
pygeos = "^0.14"
datashader = "^0.16.0"
[tool.poetry.extras]
viz = [
"geoviews",
"holoviews",
"hvplot",
"ipykernel",
"itkwidgets",
"matplotlib",
"mayavi",
"numba",
"spatialpandas",
"vtk",
]
[tool.poetry.group.dev.dependencies]
black = "<24.0"
bump2version = "^1.0"
"ruamel.yaml" = "<1.0"
"ruamel.yaml.clib" = "0.2.7"
ipykernel = "^6.29.0"
[tool.poetry.group.test.dependencies]
pytest-cov = "*"
pytest = "*"
pytest-xdist = "*"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "*"
mkdocstrings = "*"
mkdocs = "*"
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']