added icon

This commit is contained in:
Jeena Paradies 2013-04-17 23:51:07 +02:00
parent 4b62a47960
commit 965aa6af7e
2 changed files with 16 additions and 7 deletions

View file

@ -13,19 +13,28 @@ for dirname, dirnames, filenames in os.walk('images'):
for filename in filenames: for filename in filenames:
files += [(dirname, [os.path.join(dirname, filename)])] files += [(dirname, [os.path.join(dirname, filename)])]
imageformats = []
for dirname, dirnames, filenames in os.walk('C:\\Python27\\Lib\\site-packages\\PyQt4\\plugins\\imageformats'):
for filename in filenames:
imageformats += [os.path.join(dirname, filename)]
files += [('imageformats', imageformats)]
setup( setup(
name = "Bungloo", name = "Bungloo",
version = "1.3.0", version = "1.4.0",
author = "Jeena Paradies", author = "Jeena Paradies",
author_email = "spam@jeenaparadies.net", author_email = "spam@jeenaparadies.net",
url = "http://jabs.nu/bungloo", url = "http://jabs.nu/bungloo",
license = "BSD license", license = "BSD license",
data_files = files, data_files = files,
windows = ["Bungloo.py"], windows = [{
'script': "Bungloo.py",
'icon_resources': [(1, 'images/Icon.ico')],
}],
options = { options = {
"py2exe": { "py2exe": {
"includes": ["sip", "ssl", "PyQt4.QtCore", "PyQt4.QtGui", "PyQt4.QtNetwork"], "includes": ["sip", "ssl", "PyQt4.QtCore", "PyQt4.QtGui", "PyQt4.QtNetwork"],
"bundle_files": 2
}
} }
) }
)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Before After
Before After