Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash

modules=$(pip3 list --format=legacy | grep 'aw-' | grep -o '^aw-[^ ]*')
# pip removed --format=legacy in 23.0 (2023-01-30); use --format=freeze which
# outputs `aw-core==0.5.x` and is stable across pip versions.
modules=$(pip3 list --format=freeze | grep '^aw-' | grep -o '^aw-[^=]*')

for module in $modules; do
pip3 uninstall -y $module
done