setup.py & brush stufffffs

This commit is contained in:
BuildTools 2021-03-26 22:54:03 +01:00
parent dd2188f515
commit 03743a9f9d
2 changed files with 21 additions and 5 deletions

View file

@ -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)

View file

@ -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 = {