Skip to content

Instantly share code, notes, and snippets.

@nuada
Created May 2, 2016 20:16
Show Gist options
  • Save nuada/5c927afe66fa39e08a41fe755739ea8d to your computer and use it in GitHub Desktop.
Save nuada/5c927afe66fa39e08a41fe755739ea8d to your computer and use it in GitHub Desktop.
Make Mac OS X .pkg file from py2app python application.
#!/bin/bash
rm -rf dist build
python setup.py py2app
productbuild --component dist/AppName.app /Applications dist/AppName.pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment