Skip to content

Commit

Permalink
Merge pull request #747 from PCMDI/742-numpy2
Browse files Browse the repository at this point in the history
NumPy 2.0 support
  • Loading branch information
mauzey1 authored Jun 25, 2024
2 parents 7714266 + cf9c5c3 commit d7346b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Src/_cmormodule.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <Python.h>
#include <signal.h>
#define NPY_NO_DEPRECATED_API NPY_1_10_API_VERSION

#include "numpy/arrayobject.h"
Expand Down
2 changes: 1 addition & 1 deletion setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import numpy
import os
from setuptools import setup, Extension

include_dirs = [numpy.lib.utils.get_include(),"include","include/cdTime"]
include_dirs = [numpy.get_include(),"include","include/cdTime"]

library_dirs = [ os.path.join("@prefix@","lib") ,'.']
include_dirs.append(os.path.join("@prefix@","include"))
Expand Down

0 comments on commit d7346b8

Please sign in to comment.