diff --git a/pyproject.toml b/pyproject.toml index 3e8e411..d319ff8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] diff --git a/src/pygwin2/console.py b/src/pygwin2/console.py index 08f6816..dea2a22 100644 --- a/src/pygwin2/console.py +++ b/src/pygwin2/console.py @@ -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: