-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39e5415
commit a61e39d
Showing
4 changed files
with
30 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,10 @@ | |
[project] | ||
name = "py-pde" | ||
description = "Python package for solving partial differential equations" | ||
authors = [{ name = "David Zwicker", email = "[email protected]" }] | ||
license = { text = "MIT" } | ||
authors = [ | ||
{name = "David Zwicker", email="[email protected]"} | ||
] | ||
license = {text = "MIT"} | ||
readme = "README.md" | ||
requires-python = ">=3.9,<3.13" | ||
dynamic = ["version"] | ||
|
@@ -25,14 +27,7 @@ classifiers = [ | |
] | ||
|
||
# Requirements for setuptools | ||
dependencies = [ | ||
"matplotlib>=3.1", | ||
"numba>=0.59", | ||
"numpy>=1.22", | ||
"scipy>=1.10", | ||
"sympy>=1.9", | ||
"tqdm>=4.66", | ||
] | ||
dependencies = ["matplotlib>=3.1", "numba>=0.59", "numpy>=1.22", "scipy>=1.10", "sympy>=1.9", "tqdm>=4.66"] | ||
|
||
[project.optional-dependencies] | ||
io = ["h5py>=2.10", "pandas>=2", "ffmpeg-python>=0.2"] | ||
|
@@ -45,12 +40,15 @@ documentation = "http://py-pde.readthedocs.io" | |
repository = "https://github.com/zwicker-group/py-pde" | ||
|
||
[build-system] | ||
requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2"] | ||
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 | ||
zip-safe = false # required for mypy to find the py.typed file | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["pde*"] | ||
|
@@ -80,14 +78,7 @@ exclude = "scripts/templates" | |
profile = "black" | ||
src_paths = ["pde", "examples", "scripts", "tests"] | ||
known_self = ["pde", "fixtures"] | ||
sections = [ | ||
"FUTURE", | ||
"STDLIB", | ||
"THIRDPARTY", | ||
"FIRSTPARTY", | ||
"SELF", | ||
"LOCALFOLDER", | ||
] | ||
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "SELF", "LOCALFOLDER"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--strict-markers" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
-r ../requirements.txt | ||
black>=24 | ||
docformatter>=1.7 | ||
importlib-metadata>=5 | ||
isort>=5.1 | ||
jupyter_contrib_nbextensions>=0.5 | ||
mypy>=1.8 | ||
notebook>=7 | ||
pytest>=5.4 | ||
pytest-cov>=2.8 | ||
pytest-xdist>=1.30 | ||
pyupgrade>=3 | ||
ruff>=0.6 |