fix: declare numpy as dependency
This commit is contained in:
parent
7e6419e0f0
commit
5fe8e2b1db
@ -20,6 +20,6 @@ Homepage = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj"
|
||||
Issues = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj/issues"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools >= 61.0", "wheel", "Cython"]
|
||||
requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
|
3
setup.py
3
setup.py
@ -1,5 +1,6 @@
|
||||
from setuptools import setup, Extension
|
||||
from Cython.Build import cythonize
|
||||
import numpy
|
||||
|
||||
extensions = [
|
||||
Extension(
|
||||
@ -7,7 +8,7 @@ extensions = [
|
||||
sources=[
|
||||
"ext_src/_project.pyx"
|
||||
],
|
||||
include_dirs=["ext_src"],
|
||||
include_dirs=["ext_src", numpy.get_include()],
|
||||
language="c++"
|
||||
)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user