Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script to clean up from pyobjc-framework Python modules
#!/bin/bash
# Cleaner script for pyobjc-framework python modules
#
# made by Francesco Pira
# fpira.com
# Given "as-is", WITHOUT ANY WARRANTY
#
# Usage:
# chmod +x ./this-script.sh
# sudo -H ./this-script.sh
#
echo "Starting spring cleaning..."
echo "Please be patient!"
pip uninstall -y pyobjc-framework-Accounts
pip uninstall -y pyobjc-framework-AddressBook
pip uninstall -y pyobjc-framework-AppleScriptKit
pip uninstall -y pyobjc-framework-AppleScriptObjC
pip uninstall -y pyobjc-framework-Automator
pip uninstall -y pyobjc-framework-CalendarStore
pip uninstall -y pyobjc-framework-CFNetwork
pip uninstall -y pyobjc-framework-Collaboration
pip uninstall -y pyobjc-framework-CoreData
pip uninstall -y pyobjc-framework-CoreLocation
pip uninstall -y pyobjc-framework-CoreText
pip uninstall -y pyobjc-framework-DictionaryServices
pip uninstall -y pyobjc-framework-EventKit
pip uninstall -y pyobjc-framework-ExceptionHandling
pip uninstall -y pyobjc-framework-FSEvents
pip uninstall -y pyobjc-framework-InputMethodKit
pip uninstall -y pyobjc-framework-InstallerPlugins
pip uninstall -y pyobjc-framework-InstantMessage
pip uninstall -y pyobjc-framework-LatentSemanticMapping
pip uninstall -y pyobjc-framework-LaunchServices
pip uninstall -y pyobjc-framework-Message
pip uninstall -y pyobjc-framework-PreferencePanes
pip uninstall -y pyobjc-framework-PubSub
pip uninstall -y pyobjc-framework-QTKit
pip uninstall -y pyobjc-framework-Quartz
pip uninstall -y pyobjc-framework-ScreenSaver
pip uninstall -y pyobjc-framework-ScriptingBridge
pip uninstall -y pyobjc-framework-SearchKit
pip uninstall -y pyobjc-framework-ServerNotification
pip uninstall -y pyobjc-framework-ServiceManagement
pip uninstall -y pyobjc-framework-Social
pip uninstall -y pyobjc-framework-SyncServices
pip uninstall -y pyobjc-framework-SystemConfiguration
pip uninstall -y pyobjc-framework-WebKit
echo "All done! Have a nice day!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment