Force(!) reinstallation of CoolProp

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-12-31 16:03:53 -05:00
parent b9471a5566
commit fc0dcea2ac

View File

@@ -252,7 +252,7 @@ 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", "install", "`ls dist/CoolProp*.whl`"]), workdir= 'build/wrappers/Python', haltOnFailure = True))
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))
# Test the compiled CoolProp