Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix broken build with cython 0.28
Browse files Browse the repository at this point in the history
  • Loading branch information
asitstands committed May 15, 2018
1 parent 8090056 commit 978af98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def config_cython():

try:
from Cython.Build import cythonize
# from setuptools.extension import Extension
from setuptools.extension import Extension
if sys.version_info >= (3, 0):
subdir = "_cy3"
else:
Expand All @@ -87,7 +87,7 @@ def config_cython():
if not fn.endswith(".pyx"):
continue
ret.append(Extension(
"mxnet/%s/.%s" % (subdir, fn[:-4]),
"mxnet.%s.%s" % (subdir, fn[:-4]),
["mxnet/cython/%s" % fn],
include_dirs=["../include/", "../3rdparty/nnvm/include"],
library_dirs=library_dirs,
Expand Down

0 comments on commit 978af98

Please sign in to comment.