From 38e98589a8ab96c8107f74c30235405cc35b6ac9 Mon Sep 17 00:00:00 2001 From: Cole Kendrick Date: Tue, 17 Dec 2024 07:17:48 -0800 Subject: [PATCH] Update pip install command and add pyproject.toml --- .github/workflows/ci.yml | 2 +- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81abd7f..ff58653 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: git submodule status - name: build run: | - pip install ./ --global-option="--librom-dir=/env/dependencies/libROM" + pip install -v --user -C"--build-option=install" -C"--build-option=--librom-dir=/env/dependencies/libROM" -C"--build-option=-v" ./ - name: check install run: | python3 -c "import pylibROM" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..25c61de --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools==70.1.0", "mpi4py"] +build-backend = "setuptools.build_meta"