reset setup.py
@@ -24,6 +24,7 @@ from setuptools.command.build_ext import build_ext as _build_ext
try:
from Cython.Build import cythonize
except ImportError:
+
def cythonize(*args, **kwargs):
"""cythonize"""
from Cython.Build import cythonize
@@ -32,6 +33,7 @@ except ImportError:
class CustomBuildExt(_build_ext):
"""CustomBuildExt"""
+
def finalize_options(self):
_build_ext.finalize_options(self)
# Prevent numpy from thinking it is still in its setup process:
@@ -39,6 +41,7 @@ class CustomBuildExt(_build_ext):
import numpy
self.include_dirs.append(numpy.get_include())
+
workdir = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(workdir, './requirements.txt')) as f:
requirements = f.read().splitlines()
