From e68fbbe278287acadf118c3a73c84814c324319b Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 19 Jan 2020 21:00:42 -0800 Subject: [PATCH] Mark pywin32, winshell as dependencies for windows only. --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 91ea26e..600c41d 100644 --- a/setup.py +++ b/setup.py @@ -8,5 +8,9 @@ setuptools.setup( author_email='pypi@voussoir.net', description='voussoir\'s toolkit', url='https://github.com/voussoir/voussoirkit', - install_requires=['pyperclip', 'pywin32', 'winshell'] + install_requires=[ + 'pyperclip', + 'pywin32;platform_system=="Windows"', + 'winshell;platform_system=="Windows"', + ] )