[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"]