From fbc62c76b6921e96b400b6ec3f21afe4cf845d12 Mon Sep 17 00:00:00 2001 From: Noah West Date: Tue, 17 Jan 2023 18:25:16 -0500 Subject: [PATCH 1/2] add pywin32 as optional dependancy --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 1467e924..dc225eeb 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ 'ios': ['pyobjus'], 'macosx': ['pyobjus'], 'android': ['pyjnius'], + 'win': ['pywin32'], 'dev': ['mock', 'flake8'] } } @@ -81,5 +82,9 @@ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', ], + # Alternativly, add pywin32 as a Platform dependancy + # install_requires=[ + # "pywin32;platform_system=='Windows'", + # ], **EXTRA_OPTIONS ) From 9e93949eb24742ba97d95193d2702b4c84cc25fc Mon Sep 17 00:00:00 2001 From: Noah West Date: Sun, 22 Jan 2023 19:56:16 -0500 Subject: [PATCH 2/2] remove platform-dependancy commet --- setup.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/setup.py b/setup.py index dc225eeb..86d6405e 100644 --- a/setup.py +++ b/setup.py @@ -82,9 +82,5 @@ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', ], - # Alternativly, add pywin32 as a Platform dependancy - # install_requires=[ - # "pywin32;platform_system=='Windows'", - # ], **EXTRA_OPTIONS )