[build-system]
requires = [
    "meson-python>=0.15",
    "meson>=1.2",
    "ninja>=1.11",        # ensure ninja is available in the build env
    "numpy>=1.26.5"
]
build-backend = "mesonpy"

[project]
name = "acert-nlsl"
version = "0.1.0.13"
description = "the ACERT NLSL package, now wrapped up in python!"
readme = "README.md"
license = {file = "LICENSE.md"}
authors = [{name = "NLSL development team"}]
dependencies = [
    "sympy",
    "numpy>=1.26.5",
    "scipy",
    "matplotlib",
    "tables",
]

[tool.black]
line-length = 79
target-version = ['py36', 'py37', 'py38', 'py39']
preview = true

[tool.ruff]
line-length = 79

[tool.ruff.lint]
extend-select = ["E501"]

[tool.pytest.ini_options]
filterwarnings = [
    "error::DeprecationWarning:nlsl(\\.|$)",
]

[project.scripts]
nlsl = "nlsl.cli:exampledir"
