added icon
This commit is contained in:
parent
4b62a47960
commit
965aa6af7e
2 changed files with 16 additions and 7 deletions
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
)
|
}
|
||||||
|
)
|
||||||
|
|
BIN
images/Icon.ico
BIN
images/Icon.ico
Binary file not shown.
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 76 KiB |
Reference in a new issue