forked from zwicker-group/py-pde
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (96 loc) · 2.9 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
# THIS FILE IS CREATED AUTOMATICALLY AND ALL MANUAL CHANGES WILL BE OVERWRITTEN
# If you want to adjust settings in this file, change scripts/_templates/pyproject.toml
[project]
name = "py-pde"
description = "Python package for solving partial differential equations"
authors = [
{name = "David Zwicker", email="[email protected]"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.8"
dynamic = ["version"]
keywords = ["pdes", "partial-differential-equations", "dynamical-systems"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
# Requirements for setuptools
dependencies = ["matplotlib>=3.1.0", "numba>=0.56.0", "numpy>=1.22.0,<1.24", "scipy>=1.4.0", "sympy>=1.5.0", "tqdm>=4.60"]
[project.optional-dependencies]
hdf = ["h5py>=2.10"]
io = ["h5py>=2.10", "pandas>=1.2"]
interactive = ["napari>=0.4.8", "ipywidgets>=7"]
mpi = ["numba-mpi>=0.22", "mpi4py>=3"]
[project.urls]
homepage = "https://github.com/zwicker-group/py-pde"
documentation = "http://py-pde.readthedocs.io"
repository = "https://github.com/zwicker-group/py-pde"
[build-system]
requires = [
"setuptools>=61",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
zip-safe = false # required for mypy to find the py.typed file
[tool.setuptools.packages.find]
include = ["pde*"]
namespaces = false
[tool.setuptools_scm]
write_to = "pde/_version.py"
[tool.black]
target_version = ["py38"]
exclude = "scripts/templates"
[tool.isort]
profile = "black"
src_paths = ["pde", "examples", "scripts", "tests"]
known_self = ["pde", "fixtures"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "SELF", "LOCALFOLDER"]
[tool.pytest.ini_options]
addopts = "--strict-markers"
filterwarnings = [
'ignore:.*importing the ABCs from.*:DeprecationWarning',
'ignore:.*IPython.utils.signatures backport for Python 2 is deprecated.*:DeprecationWarning',
'ignore:.*scipy.sparse.*:DeprecationWarning',
]
[tool.mypy]
python_version = "3.8"
plugins = "numpy.typing.mypy_plugin"
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "numba.*"
ignore_missing_imports = true
ignore_errors = false
follow_imports = "skip"
follow_imports_for_stubs = true
[[tool.mypy.overrides]]
module = [
"h5py.*",
"IPython.*",
"ipywidgets.*",
"matplotlib.*",
"mpl_toolkits.*",
"mpi4py.*",
"napari.*",
"numba_mpi.*",
"numpy.*",
"pandas.*",
"pyfftw.*",
"pytest.*",
"qtpy.*",
"scipy.*",
"sympy.*",
"tqdm.*",
]
ignore_missing_imports = true