未验证 提交 1294d778 编写于 作者: Y Yun Chen 提交者: GitHub

Merge pull request #161 from GreenTeaHua/patch-1

Update build.py
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
ext_modules = [Extension("_nms_gpu_post", ["_nms_gpu_post.pyx"])]
import numpy
#ext_modules = [Extension("_nms_gpu_post", ["_nms_gpu_post.pyx"])]
ext_modules = [Extension("_nms_gpu_post", ["_nms_gpu_post.pyx"],
include_dirs=[numpy.get_include()])]
setup(
name="Hello pyx",
name="nms pyx",
cmdclass={'build_ext': build_ext},
ext_modules=ext_modules
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册