mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-24 16:05:36 +08:00
Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.5 6.6 Task-number: QTBUG-67283 Task-number: QTBUG-108364 Change-Id: If26e4d35c780db4a7982bb84872b251dad24716e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
24 lines
707 B
Bash
Executable File
24 lines
707 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2021 The Qt Company Ltd.
|
|
# Copyright (C) 2017 Pelagicore AG
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
set -ex
|
|
|
|
# This script installs python2
|
|
|
|
# shellcheck source=./InstallPKGFromURL.sh
|
|
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
|
|
# shellcheck source=../unix/SetEnvVar.sh
|
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
# shellcheck source=./pip.sh
|
|
source "${BASH_SOURCE%/*}/../common/macos/pip.sh"
|
|
|
|
InstallPip python2.7
|
|
|
|
/usr/local/bin/pip install virtualenv
|
|
|
|
SetEnvVar "PATH" "/Library/Frameworks/Python.framework/Versions/2.7/bin/:\$PATH"
|
|
|
|
echo "python2 = 2.7.16" >> ~/versions.txt
|
|
|