diff --git a/pyproject.toml b/pyproject.toml index c224bbbb2..cc26e215b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools==58.0.4", + "setuptools", "wheel==0.37.0", "scipy<=1.8.1;python_version<'3.11'", "scipy>=1.8.1;python_version>='3.11'", "numpy>=1.23.5;python_version>='3.11'", "numpy<=1.23.5;python_version<'3.11'", diff --git a/setup.py b/setup.py index 6b0476e83..92c5248fe 100644 --- a/setup.py +++ b/setup.py @@ -121,11 +121,11 @@ def getBlas(): LIBS = libs if platform.system() == "Darwin": - INCLUDE_DIRS = ['/usr/local/miniconda/envs/build/include', '/usr/local/opt/openblas/include'] + [numpy.get_include()] + INCLUDE_DIRS = ['/usr/local/micromamba/include', '/usr/local/opt/openblas/include'] + [numpy.get_include()] EXTRA_COMPILE_ARGS = [ '-DINT_64BITS', '-DAXPBY', '-fPIC', '-std=c++11'] - LIBRARY_DIRS = ['/usr/local/miniconda/envs/build/lib', '/usr/local/opt/openblas/lib'] + LIBRARY_DIRS + LIBRARY_DIRS = ['/usr/local/micromamba/lib', '/usr/local/opt/openblas/lib'] + LIBRARY_DIRS LIBS = libs RUNTIME_LIRABRY_DIRS = LIBRARY_DIRS EXTRA_LINK_ARGS = []