centos7 中基于 spec 打包 python 时遇到 compiling 源码/site-package test文件失败,导致打包错误
解决:
spec 中添加:
%define _python_bytecompile_errors_terminate_build 0
centos7 中基于 spec 打包 python 时遇到 compiling 源码/site-package test文件失败,导致打包错误
解决:
spec 中添加:
%define _python_bytecompile_errors_terminate_build 0
转载于:https://www.cnblogs.com/gengwudaxia/p/10812899.html