setup.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:python-wlsqm 作者: Technologicat 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号