We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d762428 + fdd81c0 commit d198414Copy full SHA for d198414
1 file changed
setup.py
@@ -14,10 +14,14 @@
14
15
try:
16
from Cython.Build import cythonize
17
+ USE_CYTHON = True
18
except ImportError:
19
USE_CYTHON = False
-else:
20
- USE_CYTHON = True
+ if not os.path.exists(os.path.join('pywt', '_extensions', '_pywt.c')):
21
+ msg = ("Cython must be installed when working with a development "
22
+ "version of PyWavelets")
23
+ raise RuntimeError(msg)
24
+
25
26
MAJOR = 0
27
MINOR = 5
0 commit comments