excluding many frameworks from osx binary (#151)

This commit is contained in:
Micah Lee 2015-05-15 18:01:43 -07:00
parent ad553146c7
commit c70e1f2668

View file

@ -108,8 +108,18 @@ elif system == 'Darwin':
'py2app': {
'argv_emulation': True,
'iconfile':'install/onionshare.icns',
'includes': ['pip', 'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui', 'jinja2', 'jinja2.ext', 'jinja2.ext.autoescape'],
'excludes': ['PyQt4.QtDesigner', 'PyQt4.QtNetwork', 'PyQt4.QtOpenGL', 'PyQt4.QtScript', 'PyQt4.QtSql', 'PyQt4.QtTest', 'PyQt4.QtWebKit', 'PyQt4.QtXml', 'PyQt4.phonon']
'includes': [
'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui',
'jinja2', 'jinja2.ext', 'jinja2.ext.autoescape'],
'excludes': [
'PyQt4.QtDesigner', 'PyQt4.QtNetwork',
'PyQt4.QtOpenGL', 'PyQt4.QtScript',
'PyQt4.QtSql', 'PyQt4.QtTest',
'PyQt4.QtWebKit', 'PyQt4.QtXml',
'PyQt4.phonon', 'PyQt4.QtDeclarative',
'PyQt4.QtHelp', 'PyQt4.QtMultimedia',
'PyQt4.QtScript', 'PyQt4.QtScriptTools',
'PyQt4.QtSvg', 'PyQt4.QtXmlPatterns']
}
},
setup_requires=['py2app'],