From 7aa122e6cd1936b2f607d89ec6abc07e6876eb9b Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:43:07 -0400 Subject: [PATCH] Attempt pywin32 install only on Windows Currently, doing a `pip install -r optional-requirements.txt` on a non-Windows platform results in an error due to pywin32 being a Windows only package. --- optional-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optional-requirements.txt b/optional-requirements.txt index d16920ef..e097746f 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -45,4 +45,4 @@ comicapi>=2.2.0,<3.3.0 jsonschema>=3.2.0,<4.23.0 # Hide console Window on Windows -pywin32>=220,<310 +pywin32>=220,<310 ; sys_platform == 'win32'