From 47ebf4e59cf84295aa072d909fe3312ff57e305b Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 17 Aug 2017 17:32:22 +0200 Subject: testsuite: Fix building of m2crypto with Python2.6 --- testsuite/install.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'testsuite') diff --git a/testsuite/install.sh b/testsuite/install.sh index d2fd20acb..758d5bdf8 100755 --- a/testsuite/install.sh +++ b/testsuite/install.sh @@ -24,13 +24,18 @@ else pip_wheel PyYAML pyinotify boto pylibacl Jinja2 \ cherrypy python-augeas nose-show-skipped - if [[ ${PYVER:0:1} == "2" ]]; then - pip_wheel m2crypto guppy - fi - if [[ $PYVER == "2.6" ]]; then - pip_wheel 'django<1.7' 'South<0.8' 'mercurial<4.3' cheetah + pip install \ + --global-option='build_ext' \ + --global-option='--include-dirs=/usr/include/x86_64-linux-gnu' \ + m2crypto + + pip_wheel 'django<1.7' 'South<0.8' 'mercurial<4.3' cheetah guppy else + if [[ $PYVER == "2.7" ]]; then + pip_wheel m2crypto guppy + fi + pip_wheel django mercurial cheetah3 fi fi -- cgit v1.2.3-1-g7c22