def build_extension(self, ext):
try:
build_ext.build_extension(self, ext)
except build_errors as be:
raise BuildError(be)
except ValueError as ve:
# this can happen on Windows 64 bit, see Python issue 7511
if "'path'" in str(sys.exc_info()[1]): # works with Python 2 and 3
raise BuildError(ve)
raise
评论列表
文章目录