Skip to content

Commit

Permalink
Revert to previous version. Numpy is not mocked when read the docs is…
Browse files Browse the repository at this point in the history
… running setup.py
  • Loading branch information
JohnVinyard committed Sep 7, 2017
1 parent b679dd4 commit 82843e5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@
import numpy as np
from distutils.extension import Extension

include = np.get_include()
if not isinstance(include, str):
raise ImportError('numpy is mocked')

countbits = Extension(
name='countbits',
sources=['zounds/nputil/countbits.pyx'],
include_dirs=[include],
include_dirs=[np.get_include()],
extra_compile_args=[
'-shared',
'-pthread',
Expand Down

0 comments on commit 82843e5

Please sign in to comment.