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