mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-20 03:18:07 -05:00
Force(!) reinstallation of CoolProp
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user