setup.py & brush stufffffs
This commit is contained in:
parent
dd2188f515
commit
03743a9f9d
2 changed files with 21 additions and 5 deletions
|
@ -1372,6 +1372,11 @@ class PesterWindow(MovingWindow):
|
|||
else:
|
||||
m.sendtime()
|
||||
def paintEvent(self, event):
|
||||
try:
|
||||
self.backgroundImage
|
||||
except:
|
||||
pass
|
||||
else:
|
||||
palette = QtGui.QPalette()
|
||||
palette.setBrush(QtGui.QPalette.Window, QtGui.QBrush(self.backgroundImage))
|
||||
self.setPalette(palette)
|
||||
|
|
15
setup.py
15
setup.py
|
@ -25,7 +25,17 @@ includefiles = ["quirks",
|
|||
"PCskins.png",
|
||||
"Pesterchum.png"]
|
||||
build_exe_options = {
|
||||
"includes": ["requests","urllib","pytwmn"],
|
||||
"includes": ["PyQt5",
|
||||
"pygame",
|
||||
"feedparser",
|
||||
"magic",
|
||||
"ostools",
|
||||
"requests",
|
||||
"urllib",
|
||||
"pytwmn",
|
||||
"re",
|
||||
"oyoyo",
|
||||
"ssl"],
|
||||
"excludes": ["collections.sys",
|
||||
"collections._sre",
|
||||
"collections._json",
|
||||
|
@ -33,7 +43,8 @@ build_exe_options = {
|
|||
"collections._struct",
|
||||
"collections.array",
|
||||
"collections._weakref"],
|
||||
"include_files": includefiles
|
||||
"include_files": includefiles,
|
||||
"include_msvcr": True
|
||||
}
|
||||
|
||||
bdist_mac_options = {
|
||||
|
|
Loading…
Reference in a new issue