1. Doug Hellmann
  2. virtualenvwrapper


Doug Hellmann  committed e767017

use the version of python in the current virtualenv to install the template project into the tox virtualenv during the test

  • Participants
  • Parent commits aa44825
  • Branches master

Comments (0)

Files changed (1)

File tests/test_project_templates.sh

View file
 export PROJECT_HOME="$(echo ${TMPDIR:-/tmp}/PROJECT_HOME | sed 's|//|/|g')"
 oneTimeSetUp() {
-    (cd "$test_dir/testtemplate" && rm -rf build && python setup.py install)
+    (cd "$test_dir/testtemplate" && rm -rf build && "$VIRTUAL_ENV/bin/python" setup.py install)
     rm -rf "$WORKON_HOME"
     mkdir -p "$WORKON_HOME"
     rm -rf "$PROJECT_HOME"