Core: purge py3.8 and py3.9 (#3973)

Co-authored-by: Remy Jette <[email protected]>
Co-authored-by: Jouramie <[email protected]>
Co-authored-by: Aaron Wagener <[email protected]>
This commit is contained in:
Fabian Dill
2024-11-27 03:28:00 +01:00
committed by GitHub
co-authored by Remy Jette Jouramie Aaron Wagener
parent 6c939d2d59
commit 334781e976
39 changed files with 112 additions and 172 deletions
+1 -4
View File
@@ -12,10 +12,7 @@ if sys.platform == "win32":
# kivy 2.2.0 introduced DPI awareness on Windows, but it makes the UI enter an infinitely recursive re-layout
# by setting the application to not DPI Aware, Windows handles scaling the entire window on its own, ignoring kivy's
try:
ctypes.windll.shcore.SetProcessDpiAwareness(0)
except FileNotFoundError: # shcore may not be found on <= Windows 7
pass # TODO: remove silent except when Python 3.8 is phased out.
ctypes.windll.shcore.SetProcessDpiAwareness(0)
os.environ["KIVY_NO_CONSOLELOG"] = "1"
os.environ["KIVY_NO_FILELOG"] = "1"