diff options
author | Jeff Quast <contact@jeffquast.com> | 2015-04-24 20:55:07 -0700 |
---|---|---|
committer | Jeff Quast <contact@jeffquast.com> | 2015-04-24 20:55:07 -0700 |
commit | 05248aa57643d618bcd5e074bb159a309b0f1eb3 (patch) | |
tree | 40c827d765359b2fae8328e6461e6b7a509a7915 /tools/teamcity-runtests.sh | |
parent | df3e476c71c8a10d84788b03c79b4167ce6b778b (diff) | |
download | pexpect-git-05248aa57643d618bcd5e074bb159a309b0f1eb3.tar.gz |
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
Diffstat (limited to 'tools/teamcity-runtests.sh')
-rwxr-xr-x | tools/teamcity-runtests.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |