diff options
| author | Justin Ross <jross@apache.org> | 2016-04-19 23:11:13 +0000 |
|---|---|---|
| committer | Justin Ross <jross@apache.org> | 2016-04-19 23:11:13 +0000 |
| commit | da7718ef463775acc7d6fbecf2d64c1bbfc39fd8 (patch) | |
| tree | 6da761b56ed0433b68f755927a180d615f7fb5b3 /qpid/bin/install-cpp-python | |
| parent | eb1e7851a50c6a7901c73eb42d639516c0e3ba43 (diff) | |
| download | qpid-python-da7718ef463775acc7d6fbecf2d64c1bbfc39fd8.tar.gz | |
QPID-7207: Remove files and components that are obsolete or no longer in use; move doc and packaging pieces to the cpp subtree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/bin/install-cpp-python')
| -rwxr-xr-x | qpid/bin/install-cpp-python | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/qpid/bin/install-cpp-python b/qpid/bin/install-cpp-python deleted file mode 100755 index d43e8e4899..0000000000 --- a/qpid/bin/install-cpp-python +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - -# -# Install C++ build and python tools to the standard places in a Unix buld -# WARNING: Will destroy any existing installation! -# - -# NOTE: build must be configured like this: -# ../qpid/cpp/configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 -# NOTE: Must run as root. - -usage() { - cat <<EOF -Usage $0 -pc <cpp-build-directory> --p <prefix> : Prefix to install python --s : Skip C++ installation -EOF - - exit 1 -} - -fail() { echo $*; exit 1; } - -while getopts "ps" opt; do - case $opt in - p) PY_PREFIX="--prefix $OPTARG";; - s) SKIP_CPP=1;; - *) usage;; - esac -done -shift `expr $OPTIND - 1` -BUILD=$1 -SRC=$(dirname $0)/.. - -# Install python -cd $SRC || fail "No such directory: $SRC" -for d in python tools extras/qmf; do - ( - cd $d || fail "No such directory: $(pwd)/$d" - ./setup.py install || fail Python install failed in $(pwd) - ) -done - -if test $SKIP_CPP; then exit; fi - -test -n "$BUILD" || { echo "No build directory."; usage; } -test -d "$BUILD" || fail "No such directory: $BUILD" -SRC=$(dirname $BUILD) - - # Install C++ -cd $BUILD -make -j1 install || fail "C++ install failed in $BUILD" - -# NOTE: setup.py does not uninstall, but you can get a list of files installed with: -# setup.py install --record <output-file> - - |
