From efb5595b6878b071978967a428591b5d792e2288 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Mon, 5 Apr 2021 21:48:38 +0300 Subject: [PATCH] some fixes for linux installation - need test --- Sources/setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Sources/setup.py b/Sources/setup.py index 2fe47897..8d7aa637 100644 --- a/Sources/setup.py +++ b/Sources/setup.py @@ -34,6 +34,8 @@ setup(name='pyOpenRPA', 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', + 'Environment :: Win32 (MS Windows)', + 'Environment :: X11 Applications', 'Programming Language :: Python', 'Programming Language :: Python :: 3.7', 'Topic :: Software Development :: Libraries :: Python Modules', @@ -49,7 +51,10 @@ setup(name='pyOpenRPA', license='MIT', packages=find_packages(), install_requires=[ - 'pywinauto>=0.6.8','WMI>=1.4.9','pillow>=6.0.0','keyboard>=0.13.3','pyautogui>=0.9.44','pywin32>=224', 'crypto>=1.4.1' + 'pywinauto>=0.6.8;platform_system=="win32" and python_version>="3.0"', + 'WMI>=1.4.9;platform_system=="win32" and python_version>="3.0"', + 'pillow>=6.0.0','keyboard>=0.13.3','pyautogui>=0.9.44', + 'pywin32>=224;platform_system=="Linux" and python_version>="3.0"', 'crypto>=1.4.1' ], include_package_data=True, #data_files = datafiles,