1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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=[]
| )
| ]
| )
| )
|
|