-
Notifications
You must be signed in to change notification settings - Fork 36
/
pyproject.toml
113 lines (102 loc) · 2.87 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
[build-system]
# Minimum requirements for the build system to execute
requires = [
"setuptools>=61",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "mfpymake"
description = "pymake is a Python package to compile MODFLOW-based models."
authors = [
{ name = "mfpymake Team", email = "[email protected]" },
]
maintainers = [
{ name = "Joseph D. Hughes", email = "[email protected]" },
]
keywords = ["MODFLOW", "groundwater", "hydrogeology"]
license = { text = "CC0" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Hydrology",
]
requires-python = ">=3.8"
dependencies = [
"numpy",
"requests",
"networkx",
"meson",
"ninja",
"pydotplus",
]
dynamic = ["version", "readme"]
[project.optional-dependencies]
lint = [
"cffconvert",
"ruff",
]
test = [
"mfpymake[lint]",
"coverage",
"flaky",
"filelock",
"pytest!=8.1.0",
"pytest-benchmark",
"pytest-cov",
"pytest-dependency",
"pytest-dotenv",
"pytest-xdist",
"appdirs",
"matplotlib",
"modflow-devtools",
"flopy",
]
[project.scripts]
mfpymake = "pymake.cmds.mfpymakecli:main"
make-program = "pymake.cmds.build:main"
make-code-json = "pymake.cmds.createjson:main"
[project.urls]
Documentation = "https://mfpymake.readthedocs.io"
"Release Notes" = "https://github.com/modflowpy/flopy/blob/develop/docs/version_changes.md"
"Bug Tracker" = "https://github.com/modflowpy/pymake/issues"
"Source Code" = "https://github.com/modflowpy/pymake"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.dynamic]
version = { attr = "pymake.config.__version__" }
readme = { file = ["README.md"], content-type = "text/markdown" }
[tool.setuptools.packages.find]
include = ["pymake", "pymake.*"]
[tool.setuptools.package-data]
"pymake.utils" = ["usgsprograms.txt"]
[tool.setuptools_scm]
fallback_version = "999"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"D409", # pydocstyle - section-underline-matches-section-length
"E", # pycodestyle error
"F", # Pyflakes
"I001", # isort - unsorted-imports
"RUF", # Ruff-specific rules
"UP", # Pyupgrade
]
ignore = [
"E722", # do not use bare `except`
"E741", # ambiguous variable name
"F401", # unused import
"F841", # local variable assigned but never used
"RUF005", # collection literal concatenation
"RUF022", # Apply an isort-style sorting to `__all__`
"UP015", # redundant open modes
]