From a735955a042aee19b2bfb13e5ebf482122b76cc0 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen <pauli.t.virtanen@jyu.fi> Date: Fri, 26 Aug 2022 18:36:46 +0300 Subject: [PATCH] Fix build versioning --- README.md | 9 ++++++--- pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1b7f14b..146c623 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,14 @@ Uses a discretization with local gauge invariance. ## Requirements -- C++ compiles +- C++ compiler - C++ libraries: Eigen, CppAD -- Meson (build requirement) +- Python 3 ## Compiling -See https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project +Assuming prerequisites are installed: +`python3 -m pip install --user .` + +See also https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project diff --git a/pyproject.toml b/pyproject.toml index 58725e8..7820ec7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ build-backend = 'mesonpy' requires = [ 'meson-python', - 'numpy >= 1.19.0', + 'oldest-supported-numpy', 'pybind11', ] -- GitLab