Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From e7a00e9b5104ae2fbcea32a35c85760b77fae7e5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Changqing Li <changqing.li@windriver.com> |
| 3 | Date: Thu, 23 Apr 2020 09:42:10 +0000 |
| 4 | Subject: [PATCH] change shebang to python3 |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | pip will drop support of python2 from 21.0 |
| 9 | |
| 10 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 11 | --- |
| 12 | src/pip/_internal/__init__.py | 2 +- |
| 13 | src/pip/_vendor/appdirs.py | 2 +- |
| 14 | src/pip/_vendor/chardet/cli/chardetect.py | 2 +- |
| 15 | src/pip/_vendor/requests/certs.py | 2 +- |
| 16 | 4 files changed, 4 insertions(+), 4 deletions(-) |
| 17 | |
| 18 | diff --git a/src/pip/_internal/__init__.py b/src/pip/_internal/__init__.py |
| 19 | index 3aa8a46..e1ad179 100755 |
| 20 | --- a/src/pip/_internal/__init__.py |
| 21 | +++ b/src/pip/_internal/__init__.py |
| 22 | @@ -1,4 +1,4 @@ |
| 23 | -#!/usr/bin/env python |
| 24 | +#!/usr/bin/env python3 |
| 25 | import pip._internal.utils.inject_securetransport # noqa |
| 26 | from pip._internal.utils.typing import MYPY_CHECK_RUNNING |
| 27 | |
| 28 | diff --git a/src/pip/_vendor/appdirs.py b/src/pip/_vendor/appdirs.py |
| 29 | index 3a52b75..ad3f81d 100644 |
| 30 | --- a/src/pip/_vendor/appdirs.py |
| 31 | +++ b/src/pip/_vendor/appdirs.py |
| 32 | @@ -1,4 +1,4 @@ |
| 33 | -#!/usr/bin/env python |
| 34 | +#!/usr/bin/env python3 |
| 35 | # -*- coding: utf-8 -*- |
| 36 | # Copyright (c) 2005-2010 ActiveState Software Inc. |
| 37 | # Copyright (c) 2013 Eddy Petrișor |
| 38 | diff --git a/src/pip/_vendor/chardet/cli/chardetect.py b/src/pip/_vendor/chardet/cli/chardetect.py |
| 39 | index c61136b..a497e98 100644 |
| 40 | --- a/src/pip/_vendor/chardet/cli/chardetect.py |
| 41 | +++ b/src/pip/_vendor/chardet/cli/chardetect.py |
| 42 | @@ -1,4 +1,4 @@ |
| 43 | -#!/usr/bin/env python |
| 44 | +#!/usr/bin/env python3 |
| 45 | """ |
| 46 | Script which takes one or more file paths and reports on their detected |
| 47 | encodings |
| 48 | diff --git a/src/pip/_vendor/requests/certs.py b/src/pip/_vendor/requests/certs.py |
| 49 | index 06a594e..bfa7839 100644 |
| 50 | --- a/src/pip/_vendor/requests/certs.py |
| 51 | +++ b/src/pip/_vendor/requests/certs.py |
| 52 | @@ -1,4 +1,4 @@ |
| 53 | -#!/usr/bin/env python |
| 54 | +#!/usr/bin/env python3 |
| 55 | # -*- coding: utf-8 -*- |
| 56 | |
| 57 | """ |
| 58 | -- |
| 59 | 2.24.1 |
| 60 | |