quick fix pywin32

This commit is contained in:
MeexReay 2025-09-20 16:14:22 +03:00
parent 9b8b461f1e
commit 583a32e8e2
2 changed files with 4 additions and 5 deletions

View file

@ -4,7 +4,7 @@ version = "2.0.0"
authors = [
{ name="MeexReay", email="meexreay@gmail.com" },
]
description = "A small example package"
description = "A library for creating GUI-applications on pygame."
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
@ -23,9 +23,8 @@ dependencies = [
"wxPython", # crazy
"randstr", # just why
"cython",
"pywin32",
# "pywin32", # make it optional
"moviepy",
"pipwin",
"wave",
"opencv-python",
]

View file

@ -4,9 +4,9 @@ try:
import win32con as w32c
import win32gui as w32g
import win32api as w32a
nonwin32api = True
except:
nonwin32api = False
except:
nonwin32api = True
import pyautogui as pag
class console: