1#!/bin/bash 2set -e 3 4############################################################################# 5## 6## Copyright (C) 2016 The Qt Company Ltd. 7## Contact: https://www.qt.io/licensing/ 8## 9## This file is part of Qbs. 10## 11## $QT_BEGIN_LICENSE:LGPL$ 12## Commercial License Usage 13## Licensees holding valid commercial Qt licenses may use this file in 14## accordance with the commercial license agreement provided with the 15## Software or, alternatively, in accordance with the terms contained in 16## a written agreement between you and The Qt Company. For licensing terms 17## and conditions see https://www.qt.io/terms-conditions. For further 18## information use the contact form at https://www.qt.io/contact-us. 19## 20## GNU Lesser General Public License Usage 21## Alternatively, this file may be used under the terms of the GNU Lesser 22## General Public License version 3 as published by the Free Software 23## Foundation and appearing in the file LICENSE.LGPL3 included in the 24## packaging of this file. Please review the following information to 25## ensure the GNU Lesser General Public License version 3 requirements 26## will be met: https://www.gnu.org/licenses/lgpl-3.0.html. 27## 28## GNU General Public License Usage 29## Alternatively, this file may be used under the terms of the GNU 30## General Public License version 2.0 or (at your option) the GNU General 31## Public license version 3 or any later version approved by the KDE Free 32## Qt Foundation. The licenses are as published by the Free Software 33## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 34## included in the packaging of this file. Please review the following 35## information to ensure the GNU General Public License requirements will 36## be met: https://www.gnu.org/licenses/gpl-2.0.html and 37## https://www.gnu.org/licenses/gpl-3.0.html. 38## 39## $QT_END_LICENSE$ 40## 41############################################################################# 42 43python_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../src/3rdparty/python" 44repos=(biplist.git@v1.0.3 dmgbuild.git@v1.3.2 ds_store@v1.1.2 mac_alias.git@v2.0.7) 45for repo in "${repos[@]}" ; do 46 pip install -U --isolated "--prefix=$python_dir" --no-binary :all: --no-compile --no-deps \ 47 "git+git://github.com/qbs/$repo" 48done 49rm "$python_dir/lib/python2.7/site-packages/dmgbuild/resources/"*.tiff 50