From 9af87ebf46bb922a1c9a17d5354cf6b67e6a6bfc Mon Sep 17 00:00:00 2001 From: Joe Zuntz Date: Wed, 9 Mar 2022 10:13:34 +0000 Subject: [PATCH] add build-system pyproject.toml --- .github/workflows/ci.yml | 3 +-- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 pyproject.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d95e9c08..5af0a6fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,8 +45,7 @@ jobs: - name: Install python dependencies run: | - python -m pip install --upgrade pip setuptools wheel - python -c "import setuptools;print('Setuptools version = ', setuptools.__version__)" + python -m pip install --upgrade pip pip install -v . pip install --no-binary=mpi4py mpi4py pip install pytest diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..a5c0abcd --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +# These are needed to run setup.py +[build-system] +requires = ["setuptools>=50.0", "wheel"]