Skip to content

Commit

Permalink
Avoiding deprecated numpy APIs. RE:natcap#396
Browse files Browse the repository at this point in the history
  • Loading branch information
phargogh committed Jun 20, 2024
1 parent 5fadc14 commit 764a6ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'src/pygeoprocessing/routing'],
extra_compile_args=compiler_and_linker_args,
extra_link_args=compiler_and_linker_args,
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')],
language="c++",
),
Extension(
Expand All @@ -61,6 +62,7 @@
'src/pygeoprocessing/routing'],
extra_compile_args=compiler_and_linker_args,
extra_link_args=compiler_and_linker_args,
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')],
language="c++",
),
Extension(
Expand All @@ -70,6 +72,7 @@
include_dirs=[numpy.get_include()],
extra_compile_args=compiler_and_linker_args,
extra_link_args=compiler_and_linker_args,
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')],
language="c++"
),
])
Expand Down

0 comments on commit 764a6ce

Please sign in to comment.