iailab-module-model/iailab-module-model-biz/src/main/resources/template/setup.py.vm | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
iailab-module-model/iailab-module-model-biz/src/main/resources/template/setup.py.vm
对比新文件 @@ -0,0 +1,26 @@ # CMD 窗口运行 # python alg_setup.py build_ext --inplace from distutils.core import setup, Extension from Cython.Build import cythonize import numpy #import sklearn setup( name='iail_mdk', version='1.0', author='IAIL', author_email='zhouf_2011@mail.dlut.edu.cn', ext_modules = cythonize([ Extension( '${pyName}', # 算法路径 sources=['${fileName}'], language='c++', include_dirs=[numpy.get_include()], library_dirs=[], libraries=[], extra_compile_args=[], extra_link_args=[] ) ] ) )