diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-10-14 09:41:32 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-10-14 09:41:32 -0500 |
commit | c7e1ed8da2232fe42440439dce006e6417e58d8c (patch) | |
tree | 8cf84300f61d79451d9d8ca02d1e597981b1e6ce /testsuite | |
parent | 0cc035b2e9f0007b9bb754faffa53ce04bc02e25 (diff) | |
download | bcfg2-c7e1ed8da2232fe42440439dce006e6417e58d8c.tar.gz bcfg2-c7e1ed8da2232fe42440439dce006e6417e58d8c.tar.bz2 bcfg2-c7e1ed8da2232fe42440439dce006e6417e58d8c.zip |
testsuite: fix installation
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/install.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/install.sh b/testsuite/install.sh index 42f8b9243..bbbd9ae76 100755 --- a/testsuite/install.sh +++ b/testsuite/install.sh @@ -5,7 +5,7 @@ sudo apt-get update -qq sudo apt-get install swig libxml2-utils -pip install -r testsuite/requirements.txt --use-mirrors +pip install -r testsuite/requirements.txt PYVER=$(python -c 'import sys;print(".".join(str(v) for v in sys.version_info[0:2]))') @@ -14,13 +14,14 @@ if [[ ${PYVER:0:1} == "2" && $PYVER != "2.7" ]]; then fi if [[ "$WITH_OPTIONAL_DEPS" == "yes" ]]; then - pip install --use-mirrors PyYAML pyinotify boto pylibacl 'django<1.5' Jinja2 + sudo apt-get install -y yum libaugeas0 augeas-lenses libacl1-dev libssl-dev + + pip install --use-mirrors PyYAML pyinotify boto pylibacl 'django<1.5' \ + Jinja2 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 # in bcfg2 require South - sudo apt-get install -y yum libaugeas0 augeas-lenses libacl1-dev \ - libssl-dev pip install cheetah 'South<0.8' pip install m2crypto fi |