Clean and Zip Plugin  (Script)

Contributed by: Jay Martin    Forum username: jay (support)

Overview

Call this script to remove unwanted files (.pyc for instance) from a plugin, then zip it up for distribution to users.

Installation

Put the script somewhere.

Usage

I actually call it from an automator action by passing a Get Selected Finder Items action into a Run Shell Script action that runs this script:

/full/path/to/script/clean-and-zip-plugin.py "$@"

You can run it directly from the command line though.