Skip to content

Commit ebc107a

Browse files
Used build_ext cmdclass from cython
1 parent 0de7de8 commit ebc107a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import os
2929
import re
3030
from os.path import join
31-
from Cython.Build import cythonize
31+
import Cython.Build
3232
from setuptools import setup, Extension
3333
import numpy as np
3434
from numpy.distutils.conv_template import process_file as process_c_file
@@ -115,6 +115,7 @@ def extensions():
115115
maintainer_email = "[email protected]",
116116
description = "MKL-based FFT transforms for NumPy arrays",
117117
version = version,
118+
cmdclass={'build_ext': Cython.Build.build_ext},
118119
include_package_data=True,
119120
ext_modules=extensions(),
120121
zip_safe=False,

0 commit comments

Comments
 (0)