From c76f308a76ec2d332dfe73a1fb2d4624c2af8b41 Mon Sep 17 00:00:00 2001 From: Mikhail <-> Date: Wed, 17 Aug 2022 21:06:38 +0300 Subject: [PATCH] fix setup py --- Sources/setup.py | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/Sources/setup.py b/Sources/setup.py index 134f2306..6b315ddc 100644 --- a/Sources/setup.py +++ b/Sources/setup.py @@ -42,6 +42,9 @@ setup(name='pyOpenRPA', 'Environment :: X11 Applications', 'Programming Language :: Python', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Testing', 'Topic :: Software Development :: User Interfaces', @@ -55,12 +58,23 @@ setup(name='pyOpenRPA', license='Текст лицензии см. в файле: LICENSE.PDF (в корне) или по адресу: https://pyopenrpa.ru/license/oferta.pdf', packages=find_packages(), install_requires=[ - '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.52','psutil>=5.6.2' - 'pywin32>=224;platform_system=="win32" and python_version>="3.0"', 'crypto>=1.4.1', 'schedule>=1.1.0', 'simplepam>=0.1.5;platform_system=="linux"', 'Jinja2>=2.2.11.2', 'pyclip>=0.6.0;platform_system=="linux"' - #'pywin32>=224;platform_system=="Linux" and python_version>="3.0"', 'crypto>=1.4.1' + 'pillow>=6.0.0', + 'keyboard>=0.13.3', + 'pyautogui<=0.9.52', + 'psutil>=5.6.2' + 'crypto>=1.4.1', + 'schedule>=1.1.0', + 'Jinja2>=2.2.11.2', + 'selenium>=3.141.0' ], + extras_require={ + ':sys_platform == "win32"': [ + 'pywin32>=224', 'WMI>=1.4.9', 'pywinauto>=0.6.8' + ], + ':"linux" in sys_platform': [ + 'simplepam>=0.1.5', 'pyclip>=0.6.0' + ] + }, include_package_data=True, #data_files = datafiles, #package_data = {"pyOpenRPA": datafiles},