From 1277e2369ecbd012ab79d8491ca2e2dc44242255 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Wed, 31 Dec 2014 16:15:05 -0500 Subject: [PATCH] Uninstall all the old versions of coolprop Signed-off-by: Ian Bell --- dev/buildbot/master/master.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev/buildbot/master/master.cfg b/dev/buildbot/master/master.cfg index bb333219..b6b1cfe3 100644 --- a/dev/buildbot/master/master.cfg +++ b/dev/buildbot/master/master.cfg @@ -252,6 +252,12 @@ def websiteFactory(platform, gitMode='incremental', fullBuild=False): # List the files in the dist directory factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "ls", 'dist/*.*']), workdir= 'build/wrappers/Python', haltOnFailure = True)) # Install the wheel - this will uninstall the old version + factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "uninstall", "coolprop"]), workdir= 'build/wrappers/Python', haltOnFailure = False)) + factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "uninstall", "coolprop"]), workdir= 'build/wrappers/Python', haltOnFailure = False)) + factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "uninstall", "coolprop"]), workdir= 'build/wrappers/Python', haltOnFailure = False)) + factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "uninstall", "coolprop"]), workdir= 'build/wrappers/Python', haltOnFailure = False)) + factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "uninstall", "coolprop"]), workdir= 'build/wrappers/Python', haltOnFailure = False)) + # Install the wheel - this will uninstall the old version factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "pip", "install", "-I", "--upgrade", "--no-deps", "--force-reinstall", "`ls dist/CoolProp*.whl`"]), workdir= 'build/wrappers/Python', haltOnFailure = True)) # Remove the generated wheel factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "rm", 'dist/*.whl']), workdir= 'build/wrappers/Python', haltOnFailure = True))