def get_npy_pkg_dir():
"""Return the path where to find the npy-pkg-config directory."""
# XXX: import here for bootstrapping reasons
import numpy
d = os.path.join(os.path.dirname(numpy.__file__),
'core', 'lib', 'npy-pkg-config')
return d
misc_util.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录