!14 iSulad: replace python to python3
Merge pull request !14 from lifeng_isula/master
This commit is contained in:
commit
bee332f517
@ -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