diff options
| author | Changqing Li <changqing.li@windriver.com> | 2020-04-24 09:09:41 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-26 14:00:51 +0100 |
| commit | 90f2ebbb5a4a7dd64ca8e9d93ea69353114c4527 (patch) | |
| tree | 63e0f642082f44db40a0ea1e97d2cbd83434b70a /meta/recipes-devtools/python/python-setuptools.inc | |
| parent | c57eb0a488d19216f9ad3a5c1861f6b9bf4bc4b5 (diff) | |
| download | poky-90f2ebbb5a4a7dd64ca8e9d93ea69353114c4527.tar.gz | |
python3-setuptools: change shebang to python3
we have offcially dropped python2, so it is possible
that our code run on python3 only host, so change
shebang to python3 to avoid error like:
python: command not found
(From OE-Core rev: c49ea8d5640d984e28ad63919e0b9ee549a4e17f)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-setuptools.inc')
| -rw-r--r-- | meta/recipes-devtools/python/python-setuptools.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index f7c3202fde..07c2f8b216 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc | |||
| @@ -10,6 +10,8 @@ inherit pypi | |||
| 10 | 10 | ||
| 11 | SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" | 11 | SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" |
| 12 | 12 | ||
| 13 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | ||
| 14 | |||
| 13 | SRC_URI[md5sum] = "0c956eea142af9c2b02d72e3c042af30" | 15 | SRC_URI[md5sum] = "0c956eea142af9c2b02d72e3c042af30" |
| 14 | SRC_URI[sha256sum] = "89c6e6011ec2f6d57d43a3f9296c4ef022c2cbf49bab26b407fe67992ae3397f" | 16 | SRC_URI[sha256sum] = "89c6e6011ec2f6d57d43a3f9296c4ef022c2cbf49bab26b407fe67992ae3397f" |
| 15 | 17 | ||
