Skip to content
  • Matt Harbison's avatar
    setup: add support for building OS X application bundles · 358dac9d0d26
    Matt Harbison authored
    After following the wiki instructions for installing the various homebrew
    packages and installing py2app, all that is required is this command:
    
      $ FORCE_SETUPTOOLS=1 python setup.py py2app
    
    (It may be a good idea to 'clean' and 'clean_local' too, to avoid *.pyc in the
    bundle.)
    
    The packages defined in the setup method are the minimum needed to build a
    working bundle.  More nice-to-haves will be added in the future via a setup.cfg
    file.
    
    py2app creates a '.eggs' directory in the root, so ignore that.  A couple of
    modules assumed frozen meant Windows, so those places check specifically for
    Windows.
    358dac9d0d26