From 58b2067c87a2a2c5cabb3a653bf68351cb93f0da Mon Sep 17 00:00:00 2001 From: Matthias Goerner <1239022+unhyperbolic@users.noreply.github.com> Date: Wed, 15 May 2024 20:17:36 -0700 Subject: [PATCH] Adding a pyproject.toml --- pyproject.toml | 7 +++++++ setup.py | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..d3213e10 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel", + "cython>=0.28" +] + diff --git a/setup.py b/setup.py index 446de505..337a3ccd 100644 --- a/setup.py +++ b/setup.py @@ -524,7 +524,6 @@ def add(self, source_file, dependency_mod_time=0.0): ext_modules = [SnapPyC, SnapPyHP, TwisterCore] -build_requires = ['cython'] install_requires = ['plink>=2.4.2', 'spherogram>=2.2', 'FXrays>=1.3', 'snappy_manifolds>=1.2', 'low_index>=1.2', 'pypng', 'decorator', 'packaging', 'tkinter-gl>=1.0a3'] @@ -573,7 +572,6 @@ def add(self, source_file, dependency_mod_time=0.0): version = version, zip_safe = False, python_requires = '>=3.8', - build_requires = build_requires, install_requires = install_requires, packages = ['snappy', 'snappy/manifolds', 'snappy/twister', 'snappy/snap', 'snappy/snap/t3mlite', 'snappy/snap/peripheral',