File size: 1,079 Bytes
1cd8a52 | 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 | [build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mpm"
version = "0.1.0"
description = "Lightweight research utilities for multiscale polynomial memory."
readme = "README.md"
authors = [{ name = "Multiscale Polynomial Memory Developers" }]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.23",
"scipy>=1.9",
"jax>=0.4.16",
"jaxlib>=0.4.16",
"matplotlib>=3.7",
"flax>=0.7.2",
"PyYAML>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"mypy>=1.5",
"ruff>=0.1.5",
"black>=23.9",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["mpm*"]
[tool.black]
line-length = 88
target-version = ["py39"]
[tool.ruff]
line-length = 88
select = ["E", "F", "I", "UP", "NPY"]
ignore = ["E203", "E266"]
[tool.ruff.isort]
known-first-party = ["mpm"]
[tool.mypy]
python_version = "3.9"
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
|