Skip to content

Commit

Permalink
install: bump python to 3.8, add cnp.import_array()
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Jun 17, 2024
1 parent f3b053a commit 9b0e91f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fastremap.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import operator

import numpy as np
cimport numpy as cnp
cnp.import_array()

from libcpp.vector cimport vector

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __repr__(self):

setuptools.setup(
setup_requires=['pbr', 'cython', 'numpy'],
python_requires=">=3.7,<4.0",
python_requires=">=3.8,<4.0",
pbr=True,
ext_modules=[
setuptools.Extension(
Expand Down

0 comments on commit 9b0e91f

Please sign in to comment.