Skip to content

Commit

Permalink
NumPy should not be a build-time dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Sep 16, 2024
1 parent 0114550 commit aec5612
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "cython", "numpy"]
requires = ["setuptools", "cython"]
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os
from setuptools import setup, Extension, Command
import versioneer
import numpy as np
import shutil
import glob

Expand Down Expand Up @@ -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={
Expand Down

0 comments on commit aec5612

Please sign in to comment.