From aec561237e4cfbe89b68413fdb5749d0fcf042a8 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 16 Sep 2024 15:37:05 -0600 Subject: [PATCH] NumPy should not be a build-time dependency --- pyproject.toml | 2 +- setup.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0b2f0c52..3254f381 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "cython", "numpy"] +requires = ["setuptools", "cython"] diff --git a/setup.py b/setup.py index c4fe1d59..e3ac3730 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ import os from setuptools import setup, Extension, Command import versioneer -import numpy as np import shutil import glob @@ -68,7 +67,6 @@ def run(self): url="https://quansight-labs.github.io/ndindex/", packages=['ndindex', 'ndindex.tests'], ext_modules=ext_modules, - include_dirs=[np.get_include()], license="MIT", # NumPy is only required when using array indices extras_require={