iSulad: replace python to python3
Signed-off-by: LiFeng <lifeng68@huawei.com>
This commit is contained in:
parent
177a771df6
commit
bf23e629f7
@ -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-devel protobuf-devel
|
||||
BuildRequires: libcurl libcurl-devel sqlite-devel
|
||||
BuildRequires: http-parser-devel libevhtp-devel libevent-devel
|
||||
BuildRequires: libseccomp-devel libcap-devel libwebsockets libwebsockets-devel
|
||||
BuildRequires: systemd-devel git python2
|
||||
BuildRequires: systemd-devel git python3
|
||||
|
||||
Requires: iSulad-img lcr lxc clibcni
|
||||
Requires: grpc protobuf yajl
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user