Merge branch 'windows'
This commit is contained in:
commit
7993458f5f
2 changed files with 15 additions and 6 deletions
|
@ -13,6 +13,13 @@ for dirname, dirnames, filenames in os.walk('images'):
|
|||
for filename in filenames:
|
||||
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(
|
||||
name = "Bungloo",
|
||||
version = "1.4.0",
|
||||
|
@ -21,11 +28,13 @@ setup(
|
|||
url = "http://jabs.nu/bungloo",
|
||||
license = "BSD license",
|
||||
data_files = files,
|
||||
windows = ["Bungloo.py"],
|
||||
windows = [{
|
||||
'script': "Bungloo.py",
|
||||
'icon_resources': [(1, 'images/Icon.ico')],
|
||||
}],
|
||||
options = {
|
||||
"py2exe": {
|
||||
"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