diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/pip-requires | 5 | ||||
| -rw-r--r-- | tools/test-requires | 9 | ||||
| -rwxr-xr-x | tools/with_venv.sh | 10 |
3 files changed, 21 insertions, 3 deletions
diff --git a/tools/pip-requires b/tools/pip-requires index 663224ed..f45be563 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -1,9 +1,8 @@ +cliff argparse coverage httplib2 mock -mox -nose -pep8>=0.6.1 prettytable simplejson +-e git://github.com/openstack/python-keystoneclient.git#egg=python-keystoneclient diff --git a/tools/test-requires b/tools/test-requires new file mode 100644 index 00000000..d8b6afb6 --- /dev/null +++ b/tools/test-requires @@ -0,0 +1,9 @@ +distribute>=0.6.24 + +mox +nose +nose-exclude +nosexcover +openstack.nose_plugin +pep8==0.6.1 +sphinx>=1.1.2 diff --git a/tools/with_venv.sh b/tools/with_venv.sh new file mode 100755 index 00000000..e6e44f59 --- /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 -- $@ |
