DaSE-Computer-Vision-2021
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
298 B

  1. from distutils.core import setup
  2. from distutils.extension import Extension
  3. from Cython.Build import cythonize
  4. import numpy
  5. extensions = [
  6. Extension('im2col_cython', ['im2col_cython.pyx'],
  7. include_dirs = [numpy.get_include()]
  8. ),
  9. ]
  10. setup(
  11. ext_modules = cythonize(extensions),
  12. )