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
|
2018-07-25 13:02:58 +08:00
|
|
|
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+)
|
2015-12-05 05:11:53 +08:00
|
|
|
"""
|
|
|
|
|
2017-03-12 06:12:50 +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,
|
2018-08-28 10:40:27 +08:00
|
|
|
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',
|
2017-07-19 14:12:17 +08:00
|
|
|
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",
|
|
|
|
],
|
2015-12-05 07:34:48 +08:00
|
|
|
install_requires=[
|
2018-03-31 06:44:37 +08:00
|
|
|
'pip',
|
|
|
|
'setuptools',
|
2018-05-07 12:44:48 +08:00
|
|
|
'ipython==5.6.0',
|
2018-08-22 06:22:03 +08:00
|
|
|
'selenium==3.14.0',
|
2017-07-23 06:38:45 +08:00
|
|
|
'nose==1.3.7',
|
2018-08-28 01:48:51 +08:00
|
|
|
'pytest==3.7.3',
|
2018-07-25 13:02:58 +08:00
|
|
|
'pytest-html==1.19.0',
|
2018-08-28 01:48:51 +08:00
|
|
|
'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',
|
2018-07-25 13:02:58 +08:00
|
|
|
'requests==2.19.1',
|
2018-04-03 09:20:41 +08:00
|
|
|
'beautifulsoup4==4.6.0',
|
2017-07-23 06:38:45 +08:00
|
|
|
'unittest2==1.1.0',
|
2017-09-01 12:42:07 +08:00
|
|
|
'chardet==3.0.4',
|
2017-07-23 06:38:45 +08:00
|
|
|
'boto==2.48.0',
|
2018-03-26 09:02:55 +08:00
|
|
|
'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 07:34:48 +08:00
|
|
|
],
|
2015-12-05 05:11:53 +08:00
|
|
|
packages=['seleniumbase',
|
2018-07-25 14:15:12 +08:00
|
|
|
'seleniumbase.common',
|
|
|
|
'seleniumbase.config',
|
2018-08-14 13:58:59 +08:00
|
|
|
'seleniumbase.console_scripts',
|
2015-12-05 05:11:53 +08:00
|
|
|
'seleniumbase.core',
|
2018-08-14 13:58:59 +08:00
|
|
|
'seleniumbase.drivers',
|
2015-12-05 05:11:53 +08:00
|
|
|
'seleniumbase.fixtures',
|
2016-07-15 11:29:14 +08:00
|
|
|
'seleniumbase.masterqa',
|
2018-07-25 14:15:12 +08:00
|
|
|
'seleniumbase.plugins',
|
2018-08-14 13:58:59 +08:00
|
|
|
'seleniumbase.utilities',
|
|
|
|
'seleniumbase.utilities.selenium_grid',
|
|
|
|
'seleniumbase.utilities.selenium_ide',
|
2018-07-25 14:15:12 +08:00
|
|
|
],
|
2015-12-05 05:11:53 +08:00
|
|
|
entry_points={
|
2018-07-25 14:15:12 +08:00
|
|
|
'console_scripts': [
|
2018-08-14 13:58:59 +08:00
|
|
|
'seleniumbase = seleniumbase.console_scripts.run:main',
|
2018-07-25 14:15:12 +08:00
|
|
|
],
|
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',
|
2017-04-27 22:35:33 +08:00
|
|
|
],
|
|
|
|
'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
|
2015-12-05 05:11:53 +08:00
|
|
|
}
|
|
|
|
)
|
2017-03-12 06:12:50 +08:00
|
|
|
|
2018-03-20 04:55:06 +08:00
|
|
|
# print(os.system("cat seleniumbase.egg-info/PKG-INFO"))
|
2017-03-12 06:12:50 +08:00
|
|
|
print("\n*** SeleniumBase Installation Complete! ***\n")
|