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"
|
Issues = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj/issues"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools >= 61.0", "wheel", "Cython"]
|
requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
3
setup.py
3
setup.py
@ -1,5 +1,6 @@
|
|||||||
from setuptools import setup, Extension
|
from setuptools import setup, Extension
|
||||||
from Cython.Build import cythonize
|
from Cython.Build import cythonize
|
||||||
|
import numpy
|
||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
Extension(
|
Extension(
|
||||||
@ -7,7 +8,7 @@ extensions = [
|
|||||||
sources=[
|
sources=[
|
||||||
"ext_src/_project.pyx"
|
"ext_src/_project.pyx"
|
||||||
],
|
],
|
||||||
include_dirs=["ext_src"],
|
include_dirs=["ext_src", numpy.get_include()],
|
||||||
language="c++"
|
language="c++"
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user