Closed Xarthisius closed 2 years ago
$ pip freeze Cython==0.29.24 numpy==1.21.2 $ python -c 'import setuptools; print(setuptools.__version__)' 58.2.0
I run into problem described here: https://stackoverflow.com/questions/21594925/error-each-element-of-ext-modules-option-must-be-an-extension-instance-or-2-t
python setup.py build ... error: each element of 'ext_modules' option must be an Extension instance or 2-tuple
diff --git a/setup.py b/setup.py index 0caccef..14d4795 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import numpy -from Cython.Build import cythonize from setuptools import Extension, find_packages, setup +from Cython.Build import cythonize setup( ext_modules=cythonize("yt_idv/*.pyx"),
fixes it.
thanks! I'll add this fix to #36 as well.
Description
I run into problem described here: https://stackoverflow.com/questions/21594925/error-each-element-of-ext-modules-option-must-be-an-extension-instance-or-2-t
What I Did
Note
fixes it.