def ext_math(extName):
extPath = extName.replace(".", os.path.sep)+".pyx"
return Extension( extName,
[extPath],
extra_compile_args=my_extra_compile_args_math,
extra_link_args=my_extra_link_args,
libraries=["m"] # "m" links libm, the math library on unix-likes; see http://docs.cython.org/src/tutorial/external.html
)
# http://stackoverflow.com/questions/13628979/setuptools-how-to-make-package-contain-extra-data-folder-and-all-folders-inside
评论列表
文章目录