1 Star 0 Fork 36

zhengyaohui/pcp

forked from src-openEuler/pcp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0004-modify-python2-to-python3.patch 965 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangxiao65 提交于 2020-10-29 11:44 . drop python2 subpackage
From 7fecf25e72225dfd2b3e8ba04e7ec8773fed1df8 Mon Sep 17 00:00:00 2001
From: wangxiao <[email protected]>
Date: Wed, 21 Oct 2020 21:47:04 +0800
Subject: [PATCH] modify python2.7 to python3.8
---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 71574ce..dfd4ea6 100755
--- a/configure
+++ b/configure
@@ -7348,7 +7348,7 @@ fi
test -n "$PYTHON" && break
done
-test -n "$PYTHON" || PYTHON="python2.7"
+test -n "$PYTHON" || PYTHON="python3.8"
diff --git a/configure.ac b/configure.ac
index 2a94208..c42a17b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -785,7 +785,7 @@ AC_CHECK_PROGS(PYLINT, pylint, /bin/true)
AC_SUBST(PYLINT)
dnl check if python available for the build and runtime
-AC_CHECK_PROGS(PYTHON, python, python2.7)
+AC_CHECK_PROGS(PYTHON, python, python3.8)
AC_SUBST(PYTHON)
dnl check if python3 available for the build and runtime
--
2.23.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhengyaohui/pcp.git
[email protected]:zhengyaohui/pcp.git
zhengyaohui
pcp
pcp
master

搜索帮助