Remove unused tools/tox_install.sh

This repo does not need tools/tox_install.sh anywhere, remove it.

Change-Id: Iff57595923b7351f07f77a764ce4316ce86952c1
This commit is contained in:
Andreas Jaeger 2016-08-30 10:47:17 +02:00
parent 8a28222094
commit 28442fdb45
1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
#!/bin/bash
# Many of neutron's repos suffer from the problem of depending on neutron,
# but it not existing on pypi. -- Well, that's the usual issue, but in
# neutron's case, we want to import tempest directly for the api tests.
# This wrapper for tox's package installer will use the existing package
# if it exists, else use zuul-cloner if that program exists, else grab it
# from neutron master via a hard-coded URL. That last case should only
# happen with devs running unit tests locally.
ZUUL_CLONER=/usr/zuul-env/bin/zuul-cloner
tempest_installed=$(python -c "import tempest" 2>/dev/null ; echo $?)
set -e
install_cmd="pip install"
CONSTRAINTS_FILE=$1
shift
if [ "$CONSTRAINTS_FILE" != "unconstrained" ]; then
install_cmd="$install_cmd -c$CONSTRAINTS_FILE"
fi
$install_cmd -U $*