提交 d33b7c7b 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!74 iSulad: replace python to python3

Merge pull request !74 from lifeng_isula/master
......@@ -3,9 +3,9 @@ include(CheckIncludeFile)
# check depends library and headers
find_package(PkgConfig REQUIRED)
# check python
find_program(CMD_PYTHON python)
_CHECK(CMD_PYTHON "CMD_PYTHON-NOTFOUND" "python")
# check python3
find_program(CMD_PYTHON python3)
_CHECK(CMD_PYTHON "CMD_PYTHON-NOTFOUND" "python3")
# check tools
find_program(CMD_TAR tar)
......
......@@ -34,7 +34,7 @@ BuildRequires: grpc grpc-plugins grpc-devel protobuf-devel
BuildRequires: libcurl libcurl-devel sqlite-devel
BuildRequires: http-parser-devel
BuildRequires: libseccomp-devel libcap-devel libselinux-devel libwebsockets libwebsockets-devel
BuildRequires: systemd-devel git
BuildRequires: systemd-devel git python3
Requires: iSulad-img lcr lxc clibcni
Requires: grpc protobuf yajl
......
set(cmdpath python)
set(cmdpath python3)
set(pysrcpath ${CMAKE_CURRENT_SOURCE_DIR}/src/generate.py)
set(schemapath ${CMAKE_CURRENT_SOURCE_DIR}/schema)
set(outputpath ${CMAKE_BINARY_DIR}/json)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册