From 1269bb20c770ca9869f54da9e1db9af7173b9809 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Wed, 10 Oct 2012 08:55:03 +1300 Subject: Initial import --- tools/pip-requires | 4 ++++ tools/test-requires | 11 +++++++++++ tools/with_venv.sh | 10 ++++++++++ 3 files changed, 25 insertions(+) create mode 100644 tools/pip-requires create mode 100644 tools/test-requires create mode 100755 tools/with_venv.sh (limited to 'tools') diff --git a/tools/pip-requires b/tools/pip-requires new file mode 100644 index 0000000..bbb4edf --- /dev/null +++ b/tools/pip-requires @@ -0,0 +1,4 @@ +argparse +prettytable>=0.6,<0.7 +python-keystoneclient>=0.1.2,<0.2 +warlock<2 diff --git a/tools/test-requires b/tools/test-requires new file mode 100644 index 0000000..18557f0 --- /dev/null +++ b/tools/test-requires @@ -0,0 +1,11 @@ +distribute>=0.6.24 + +mox +nose +nose-exclude +nosexcover +openstack.nose_plugin +nosehtmloutput +pep8==1.2 +setuptools-git>=0.4 +sphinx>=1.1.2 diff --git a/tools/with_venv.sh b/tools/with_venv.sh new file mode 100755 index 0000000..e6e44f5 --- /dev/null +++ b/tools/with_venv.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +command -v tox > /dev/null 2>&1 +if [ $? -ne 0 ]; then + echo 'This script requires "tox" to run.' + echo 'You can install it with "pip install tox".' + exit 1; +fi + +tox -evenv -- $@ -- cgit v1.2.1