From 5fc9c97848e9af599c78357d94e3300543d51cf4 Mon Sep 17 00:00:00 2001 From: tkclam Date: Tue, 5 Nov 2024 23:54:01 +0100 Subject: [PATCH 1/2] fix build issues by removing setup_requires and adding pyproject.toml --- pyproject.toml | 3 +++ setup.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7ad1b0b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel", "numpy<2"] +build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 5fbbc0d..ee2f820 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,6 @@ long_description=long_description, long_description_content_type="text/x-rst", url="https://github.com/NeLy-EPFL/utils2p", - setup_requires=["numpy"], install_requires=["numpy", "pytest", "scipy", From 01f3a90050b18b8590274b90dd0115f62c020bfb Mon Sep 17 00:00:00 2001 From: tkclam Date: Tue, 5 Nov 2024 23:57:35 +0100 Subject: [PATCH 2/2] bump version --- setup.py | 2 +- utils2p/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index ee2f820..e58deab 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup( name="utils2p", - version="1.0.1", + version="1.0.2", packages=["utils2p", "utils2p.external", "utils2p.external.tifffile"], author="Florian Aymanns", author_email="florian.aymanns@epfl.ch", diff --git a/utils2p/__init__.py b/utils2p/__init__.py index 12e36f6..11ca1db 100644 --- a/utils2p/__init__.py +++ b/utils2p/__init__.py @@ -2,4 +2,4 @@ __author__ = "Florian Aymanns" __email__ = "florian.aymanns@epfl.ch" -__version__ = "1.0.0" +__version__ = "1.0.2"