diff options
author | Changqing Li <changqing.li@windriver.com> | 2020-11-02 14:19:21 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-11-02 14:38:59 +0800 |
commit | 8089e92d77bc11051463580eb0b0687e768bc8d2 (patch) | |
tree | 52628dc46fd72b2840b6aa820ed8900b04112895 /dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo | |
parent | 2e70694b20ca390e4c143da31ef192ecd5528665 (diff) | |
download | meta-intel-8089e92d77bc11051463580eb0b0687e768bc8d2.tar.gz |
open-model-zoo: switch shebang to python3
python2 is EOL, so switch shebang to python3
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo/0001-switch-to-python3.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo/0001-switch-to-python3.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo/0001-switch-to-python3.patch new file mode 100644 index 00000000..8bfb9ac9 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo/0001-switch-to-python3.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From 4dd5d9c7042b421c929bece05ee162b8827dc568 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Mon, 2 Nov 2020 11:44:33 +0800 | ||
4 | Subject: [PATCH] switch to python3 | ||
5 | |||
6 | Upstream-Status: Submitted | ||
7 | [https://github.com/openvinotoolkit/open_model_zoo/pull/1701/commits/0261e21e63b84cc4e91b220f4a84ec52b5678e2c; | ||
8 | https://github.com/gflags/gflags/pull/318#issuecomment-719466350] | ||
9 | |||
10 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
11 | --- | ||
12 | .../speech_recognition_demo/speech_recognition_demo.py | 2 +- | ||
13 | thirdparty/gflags/test/gflags_build.py.in | 2 +- | ||
14 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/python_demos/speech_recognition_demo/speech_recognition_demo.py b/python_demos/speech_recognition_demo/speech_recognition_demo.py | ||
17 | index 6e8ff534..d28ccddc 100755 | ||
18 | --- a/python_demos/speech_recognition_demo/speech_recognition_demo.py | ||
19 | +++ b/python_demos/speech_recognition_demo/speech_recognition_demo.py | ||
20 | @@ -1,4 +1,4 @@ | ||
21 | -#!/usr/bin/env python | ||
22 | +#!/usr/bin/env python3 | ||
23 | # | ||
24 | # Copyright (C) 2019-2020 Intel Corporation | ||
25 | # SPDX-License-Identifier: Apache-2.0 | ||
26 | diff --git a/thirdparty/gflags/test/gflags_build.py.in b/thirdparty/gflags/test/gflags_build.py.in | ||
27 | index a8cba2bf..559163ef 100644 | ||
28 | --- a/thirdparty/gflags/test/gflags_build.py.in | ||
29 | +++ b/thirdparty/gflags/test/gflags_build.py.in | ||
30 | @@ -1,4 +1,4 @@ | ||
31 | -#!/usr/bin/env python | ||
32 | +#!/usr/bin/env python3 | ||
33 | |||
34 | import os | ||
35 | import sys | ||
36 | -- | ||
37 | 2.17.1 | ||
38 | |||