[build-system]
requires = [
    "meson-python>=0.15.0", # Use a recent version
    "meson==1.9.1",        # Specify your Meson version requirement
    "pybind11>=2.10"       # pybind11 headers needed at build time
]
build-backend = "mesonpy"

[project]
name = "gridfire"  # Choose your Python package name
version = "v0.7.5rc3" # Your project's version
description = "Python interface to the GridFire nuclear network code"
readme = "README.md"
license = { file = "LICENSE.txt" } # Reference your license file [cite: 2]

authors = [
    {name = "Emily M. Boudreaux", email = "emily@boudreauxmail.com"},
    {name = "Aaron Dotter", email = "aaron.dotter@gmail.com"}
]
maintainers = [
    {name = "Emily M. Boudreaux", email = "emily@boudreauxmail.com"}
]

[tool.meson-python.args]
setup = ['-Dpkg_config=false', '-Dbuildtype=release', '-Dopenmp_support=true', '-Dasan=false', '-Dlog_level=error', '-Dbuild_tests=false', '-Dbuild_c_api=false', '-Dbuild_examples=false', '-Dbuild_benchmarks=false', '-Dbuild_tools=false', '-Dplugin_support=false', '-Duse_mimalloc=false', '-Dbuild_python=true']
