SeleniumBase/setup.py

117 lines
4.0 KiB
Python
Raw Normal View History

2015-12-05 05:11:53 +08:00
"""
2016-07-24 06:51:59 +08:00
The setup package to install SeleniumBase dependencies and plugins
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+)
2015-12-05 05:11:53 +08:00
"""
from setuptools import setup, find_packages # noqa
2018-08-28 10:21:10 +08:00
from os import path
this_directory = path.abspath(path.dirname(__file__))
long_description = None
try:
with open(path.join(this_directory, 'README.md'), 'rb') as f:
long_description = f.read().decode('utf-8')
except IOError:
2018-12-27 15:14:24 +08:00
long_description = 'Reliable Browser Automation & Testing Framework'
2015-12-05 05:11:53 +08:00
setup(
name='seleniumbase',
2019-05-08 14:19:05 +08:00
version='1.23.8',
2019-02-04 15:46:11 +08:00
description='Reliable Browser Automation & Testing Framework',
2018-08-28 10:21:10 +08:00
long_description=long_description,
long_description_content_type='text/markdown',
2018-08-28 06:36:52 +08:00
url='https://github.com/seleniumbase/SeleniumBase',
platforms=["Windows", "Linux", "Unix", "Mac OS-X"],
2015-12-05 05:11:53 +08:00
author='Michael Mintz',
author_email='mdmintz@gmail.com',
2015-12-05 05:11:53 +08:00
maintainer='Michael Mintz',
2018-08-28 06:36:52 +08:00
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Topic :: Internet",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
2018-09-29 06:36:28 +08:00
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Acceptance",
"Topic :: Software Development :: Testing :: Traffic Generation",
"Topic :: Utilities",
2018-08-28 06:36:52 +08:00
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
2018-11-22 03:39:38 +08:00
"Framework :: Pytest",
2018-08-28 06:36:52 +08:00
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
install_requires=[
'pip',
'setuptools',
2018-10-19 07:00:46 +08:00
'six',
'nose',
'ipdb',
'chardet',
'unittest2',
'selenium==3.141.0',
'urllib3==1.24.3',
2019-04-23 08:21:32 +08:00
'requests>=2.21.0',
2019-04-16 15:09:02 +08:00
'pytest>=4.4.1',
2019-01-07 10:05:43 +08:00
'pytest-cov>=2.6.1',
2019-04-06 05:00:59 +08:00
'pytest-forked>=1.0.2',
2019-01-15 08:59:37 +08:00
'pytest-html>=1.20.0',
'pytest-metadata>=1.8.0',
2019-05-08 14:18:08 +08:00
'pytest-ordering>=0.6',
2019-04-01 15:06:25 +08:00
'pytest-rerunfailures>=7.0',
2019-04-04 14:42:11 +08:00
'pytest-xdist>=1.28.0',
2019-02-08 14:03:06 +08:00
'parameterized>=0.7.0',
2018-10-18 06:22:10 +08:00
'beautifulsoup4>=4.6.0', # Keep at >=4.6.0 while using bs4
2019-05-08 14:18:08 +08:00
'pyopenssl>=19.0.0',
2019-04-23 08:22:11 +08:00
'colorama>=0.4.1',
'pyotp>=2.2.7',
2018-10-04 14:33:25 +08:00
'boto>=2.49.0',
2019-04-23 08:22:11 +08:00
'flake8>=3.7.7',
'PyVirtualDisplay>=0.2.1',
2018-08-30 13:57:40 +08:00
],
packages=[
'seleniumbase',
'seleniumbase.common',
'seleniumbase.config',
'seleniumbase.console_scripts',
'seleniumbase.core',
'seleniumbase.drivers',
'seleniumbase.extensions',
2018-08-30 13:57:40 +08:00
'seleniumbase.fixtures',
'seleniumbase.masterqa',
'seleniumbase.plugins',
'seleniumbase.utilities',
'seleniumbase.utilities.selenium_grid',
'seleniumbase.utilities.selenium_ide',
],
include_package_data=True,
2015-12-05 05:11:53 +08:00
entry_points={
'console_scripts': [
'seleniumbase = seleniumbase.console_scripts.run:main',
],
2015-12-05 05:11:53 +08:00
'nose.plugins': [
'base_plugin = seleniumbase.plugins.base_plugin:Base',
'selenium = seleniumbase.plugins.selenium_plugin:SeleniumBrowser',
'page_source = seleniumbase.plugins.page_source:PageSource',
'screen_shots = seleniumbase.plugins.screen_shots:ScreenShots',
'test_info = seleniumbase.plugins.basic_test_info:BasicTestInfo',
2015-12-09 05:33:44 +08:00
('db_reporting = '
'seleniumbase.plugins.db_reporting_plugin:DBReporting'),
2015-12-05 05:11:53 +08:00
's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging',
2018-08-30 13:57:40 +08:00
],
'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
2018-08-30 13:57:40 +08:00
}
)
2018-03-20 04:55:06 +08:00
# print(os.system("cat seleniumbase.egg-info/PKG-INFO"))
print("\n*** SeleniumBase Installation Complete! ***\n")