|
|
@ -22,6 +22,10 @@ if sys.version_info[:3] < (2,6,0): |
|
|
|
sys.exit(1) |
|
|
|
|
|
|
|
if sys.platform == 'darwin': |
|
|
|
from plistlib import Plist |
|
|
|
plist = Plist.fromFile('Info.plist') |
|
|
|
plist.update(dict(CFBundleIconFile='electrum.icns')) |
|
|
|
|
|
|
|
shutil.copy(mainscript, mainscript + '.py') |
|
|
|
mainscript += '.py' |
|
|
|
extra_options = dict( |
|
|
@ -31,7 +35,7 @@ if sys.platform == 'darwin': |
|
|
|
includes = ['PyQt4.QtCore','PyQt4.QtGui', 'sip'], |
|
|
|
packages = ['lib', 'gui', 'plugins'], |
|
|
|
iconfile='electrum.icns', |
|
|
|
plist=dict(CFBundleIconFile='electrum.icns'), |
|
|
|
plist=plist, |
|
|
|
resources=["data", "icons"])), |
|
|
|
) |
|
|
|
elif sys.platform == 'win32': |
|
|
|