Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Bumps the version to 0.0.5. Fixes a warning about deprecated numpy API.
ejaszewski committed Apr 30, 2023
1 parent d9dbe57 commit 03142fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@ def build_extensions(self):
numpy_include = numpy.get_numpy_include()

# Arguments for both NVCC and GCC
compiler_flags = ['-std=c++11']
compiler_flags = ['-std=c++11', '-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION']
gcc_only_flags = []
nvcc_only_flags = ['-c', '--compiler-options', "'-fPIC'"]

@@ -170,7 +170,7 @@ def build_extensions(self):
]

setup(name="periodfind",
version='0.0.4',
version='0.0.5',
description='GPU-accelerated period finding utilities',
url='https://github.com/ZwickyTransientFacility/periodfind',
author='Ethan Jaszewski',

0 comments on commit 03142fa

Please sign in to comment.