-
Notifications
You must be signed in to change notification settings - Fork 35
/
pyproject.toml
117 lines (106 loc) · 2.98 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
[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 = "modflow@usgs.gov" },
]
maintainers = [
{ name = "Joseph D. Hughes", email = "jdhughes@usgs.gov" },
]
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 = 79
target-version = "py38"
include = [
"pyproject.toml",
"pymake/**/*.py",
"autotest/**/*.py",
"docs/**/*.py",
"scripts/**/*.py",
]
[tool.ruff.lint]
select = ["F", "E", "I001"]
ignore = [
"E402", # module level import not at top of file
"E712", # Avoid equality comparisons to `True`
"E722", # do not use bare `except`
"E741", # ambiguous variable name
"F401", # unused import
"F403", # unable to detect undefined names (star imports)
"F524", # `.format` missing argument(s) for placeholder(s)
"F811", # Redefinition of unused variable
"F821", # undefined name TODO FIXME
"F841", # local variable assigned but never used
]