Skip to content

Commit 41af4eb

Browse files
committed
clean up blosc extension; remove numpy build requirement
1 parent bafab2a commit 41af4eb

File tree

3 files changed

+1202
-4781
lines changed

3 files changed

+1202
-4781
lines changed

setup.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@
1010
DistutilsPlatformError
1111

1212

13-
try:
14-
import numpy as np
15-
except ImportError:
16-
# Keep it simple, require that NumPy is already installed.
17-
print('[zarr] ERROR NumPy not found. Please install NumPy then try again.')
18-
print('[zarr] See also: http://docs.scipy.org/doc/numpy/user/install.html')
19-
sys,exit(1)
20-
21-
2213
try:
2314
from Cython.Build import cythonize
2415
except ImportError:
@@ -46,7 +37,6 @@ def blosc_extension():
4637
include_dirs += glob('c-blosc/internal-complibs/*')
4738
define_macros += [('HAVE_LZ4', 1), ('HAVE_SNAPPY', 1), ('HAVE_ZLIB', 1)]
4839
# define_macros += [('CYTHON_TRACE', '1')]
49-
include_dirs.append(np.get_include())
5040

5141
# determine CPU support for SSE2 and AVX2
5242
cpu_info = cpuinfo.get_cpu_info()

0 commit comments

Comments
 (0)