From 05248aa57643d618bcd5e074bb159a309b0f1eb3 Mon Sep 17 00:00:00 2001 From: Jeff Quast Date: Fri, 24 Apr 2015 20:55:07 -0700 Subject: Always re-create virtualenv. In the case of osx.pexpect.org, a 'brew upgrade' was run, which updated the system python and screwed up re-using the existing --- tools/teamcity-runtests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/teamcity-runtests.sh b/tools/teamcity-runtests.sh index b74f179..be0b5b6 100755 --- a/tools/teamcity-runtests.sh +++ b/tools/teamcity-runtests.sh @@ -25,7 +25,8 @@ if [ -z $venv_wrapper ]; then fi . ${venv_wrapper} -workon ${venv} || mkvirtualenv -p `which python${pyversion}` ${venv} || true +rmvirtualenv ${venv} || true +mkvirtualenv -p `which python${pyversion}` ${venv} # install ptyprocess cd $here/../../ptyprocess -- cgit v1.2.1