SeleniumBase/setup.py

100 lines
3.5 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:
long_description = 'Web Automation, Testing, and User-Onboarding Framework'
2015-12-05 05:11:53 +08:00
setup(
name='seleniumbase',
2018-08-28 14:13:37 +08:00
version='1.15.3',
2018-08-28 06:36:52 +08:00
description='All-In-One Test Automation 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",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"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',
'ipython==5.6.0',
'selenium==3.14.0',
'nose==1.3.7',
'pytest==3.7.3',
'pytest-html==1.19.0',
'pytest-xdist==1.23.0',
2018-07-26 01:12:01 +08:00
'six==1.11.0',
2018-02-09 06:55:46 +08:00
'flake8==3.5.0',
'requests==2.19.1',
2018-04-03 09:20:41 +08:00
'beautifulsoup4==4.6.0',
'unittest2==1.1.0',
'chardet==3.0.4',
'boto==2.48.0',
'ipdb==0.11',
2018-08-28 10:17:28 +08:00
'parameterized==0.6.1',
2018-04-12 10:44:12 +08:00
'PyVirtualDisplay==0.2.1',
],
2015-12-05 05:11:53 +08:00
packages=['seleniumbase',
'seleniumbase.common',
'seleniumbase.config',
'seleniumbase.console_scripts',
2015-12-05 05:11:53 +08:00
'seleniumbase.core',
'seleniumbase.drivers',
2015-12-05 05:11:53 +08:00
'seleniumbase.fixtures',
2016-07-15 11:29:14 +08:00
'seleniumbase.masterqa',
'seleniumbase.plugins',
'seleniumbase.utilities',
'seleniumbase.utilities.selenium_grid',
'seleniumbase.utilities.selenium_ide',
],
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',
],
'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
2015-12-05 05:11:53 +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")