forked from DHI/mikeio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
98 lines (84 loc) · 2.16 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = ["notebooks", "tests", "images"]
[project]
name="mikeio"
version="1.7.dev0"
dependencies = [
"mikecore>=0.2.1",
"numpy>=1.15.0", # first version with numpy.quantile
"pandas>1.3",
"scipy>1.0",
"PyYAML",
"tqdm",
"xarray",
]
authors = [
{ name="Henrik Andersson",email="[email protected]"},
{ name = "Jesper Sandvig Mariegaard", email="[email protected]" }
]
description="A package that uses the DHI dfs libraries to create, write and read dfs and mesh files."
license="BSD-3-Clause"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
]
[project.optional-dependencies]
dev = ["pytest",
"black==22.3.0",
"sphinx",
"sphinx-rtd-theme",
"myst-parser",
"shapely",
"pyproj",
"xarray",
"netcdf4",
"matplotlib",
"ruff"]
test = ["pytest", "pytest-cov", "matplotlib!=3.5.0", "xarray","mypy","shapely","pyproj"]
notebooks= [
"nbformat",
"nbconvert",
"jupyter",
"xarray",
"netcdf4",
"rasterio",
"geopandas",
"scikit-learn",
]
[project.urls]
"Homepage" = "https://github.com/DHI/mikeio"
"Bug Tracker" = "https://github.com/DHI/mikeio/issues"
# mypy global options:
[tool.mypy]
python_version = "3.9"
warn_return_any = false
allow_redefinition = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = [
"mikecore.*",
"pandas",
"matplotlib.*",
"shapely.*",
"mpl_toolkits.*",
"scipy.*",
"tqdm.*",
"yaml.*"
]
ignore_missing_imports = true
[tool.ruff]
# ignore long lines
ignore = ["E501", "E741"]