summaryrefslogtreecommitdiffstats
path: root/testsuite/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/install.sh')
-rwxr-xr-xtestsuite/install.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuite/install.sh b/testsuite/install.sh
index 9de5b8c6d..50b91a4d2 100755
--- a/testsuite/install.sh
+++ b/testsuite/install.sh
@@ -6,9 +6,12 @@ pip install -r testsuite/requirements.txt --use-mirrors
PYVER=$(python -c 'import sys;print(".".join(str(v) for v in sys.version_info[0:2]))')
+if [[ ${PYVER:0:1} == "2" && $PYVER != "2.7" ]]; then
+ pip install --use-mirrors unittest2
+fi
+
if [[ "$WITH_OPTIONAL_DEPS" == "yes" ]]; then
- pip install --use-mirrors genshi PyYAML pyinotify boto 'django<1.5' \
- pylibacl
+ pip install --use-mirrors PyYAML pyinotify boto pylibacl 'django<1.5'
easy_install https://fedorahosted.org/released/python-augeas/python-augeas-0.4.1.tar.gz
if [[ ${PYVER:0:1} == "2" ]]; then
# django supports py3k, but South doesn't, and the django bits