-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
103 lines (94 loc) · 2.33 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.hooks.custom]
path = "scripts/hatch_build_script.py"
[tool.hatch.scripts]
post-install = "scripts/install_dependencies.py" # for editable installs
[tool.hatch.build.targets.sdist]
exclude = ["notebooks", "tests", "images"]
[tool.hatch.build.targets.sdist.force-include]
"mikeio1d/bin" = "mikeio1d/bin"
[tool.hatch.build.targets.wheel.force-include]
"mikeio1d/bin" = "mikeio1d/bin"
[project]
name = "mikeio1d"
version = "0.9.1"
description = "A package that uses the DHI MIKE1D .NET libraries to read res1d and xns11 files."
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
authors = [
{name = "Gediminas Kirsanskas", email = "geki@dhigroup.com"}
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering"
]
dependencies = [
"pythonnet>=3.0.0",
"numpy",
"pandas>=2.1.0",
'mikecore; platform_system=="Linux"'
]
[project.optional-dependencies]
dev = [
"hatch",
"pytest",
"pytest-cov",
"ruff",
"matplotlib",
"jupyterlab",
"geopandas",
"folium",
"mapclassify"
]
notebooks = [
"matplotlib",
"ipykernel",
"nbformat",
"nbconvert",
"geopandas",
"folium",
"mapclassify",
]
docs = [
"quarto-cli",
"quartodoc==0.7.6"
]
test = [
"pytest",
"pytest-cov",
"matplotlib",
"pyarrow",
"nbformat",
"nbconvert",
"ipykernel"
]
all = [
"matplotlib",
"geopandas"
]
[project.urls]
"Homepage" = "https://github.com/DHI/mikeio1d"
"Bug Tracker" = "https://github.com/DHI/mikeio1d/issues"
[tool.ruff]
include = ["pyproject.toml", "mikeio1d/**/*.py"]
line-length = 100
lint.extend-select = ["D", "PD", "NPY", "FA"]
lint.ignore = [
"E402", # ignore for now
"F401", # ignore for now
"PD901" # allow using 'df' for pd.DataFrame type
]
lint.pydocstyle.convention = "numpy"