From 459929724d194333e7d69a7aac41336d1e807404 Mon Sep 17 00:00:00 2001 From: Simon Maenaut Date: Sun, 28 Apr 2024 15:46:23 +0200 Subject: [PATCH] Add pyproject.toml to allow installation with setuptools v. 69 --- pyproject.toml | 2 ++ requirements.txt | 1 + setup.cfg | 3 +-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..9a5d7d5e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools_scm", "numpy", "cython"] diff --git a/requirements.txt b/requirements.txt index 08da0411..d7d36fb9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,5 @@ corner tqdm cython matplotlib +setuptools diff --git a/setup.cfg b/setup.cfg index 3fa91b3f..07e6e3ab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,5 @@ universal = 1 [options] -setup_requires = - setuptools_scm numpy cython +setup_requires = setuptools_scm numpy cython