mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -03:00
excluding many frameworks from osx binary (#151)
This commit is contained in:
parent
ad553146c7
commit
c70e1f2668
1 changed files with 12 additions and 2 deletions
14
setup.py
14
setup.py
|
@ -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'],
|
||||
|
|
Loading…
Add table
Reference in a new issue