GridFire can now support unity builds. This is useful for python bindings. The main limitation is that openssl (a dependency of libplugin) does not support unity builds. Therefore when building in a unity build libplugin must be disabled. This is done with the -Dunity-safe=ture flag at setup time
26 lines
810 B
TOML
26 lines
810 B
TOML
[build-system]
|
|
requires = [
|
|
"meson-python>=0.15.0", # Use a recent version
|
|
"meson>=1.6.0", # 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 = "0.7.4_rc2" # 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']
|