Simplify docker integration

This commit is contained in:
Michael Mintz 2016-02-25 06:24:35 -05:00
parent 7024867a20
commit 2aea0303eb
3 changed files with 1 additions and 51 deletions

View File

@ -94,12 +94,9 @@ RUN exec "$@"
#===================== #=====================
# Set up SeleniumBase # Set up SeleniumBase
#===================== #=====================
COPY integrations/docker/docker_requirements.txt /SeleniumBase/
COPY integrations/docker/docker_setup.py /SeleniumBase/
COPY seleniumbase /SeleniumBase/seleniumbase/ COPY seleniumbase /SeleniumBase/seleniumbase/
COPY examples /SeleniumBase/examples/ COPY examples /SeleniumBase/examples/
RUN cd /SeleniumBase && ls && sudo pip install -r docker_requirements.txt RUN cd /SeleniumBase && ls && pip install seleniumbase
RUN cd /SeleniumBase && ls && sudo python docker_setup.py install
#========================================== #==========================================
# Create entrypoint and grab example tests # Create entrypoint and grab example tests

View File

@ -1,13 +0,0 @@
selenium==2.52.0
nose==1.3.7
pytest==2.8.7
flake8==2.5.4
requests==2.9.1
urllib3==1.14
BeautifulSoup==3.2.1
unittest2==1.1.0
chardet==2.3.0
simplejson==3.8.2
boto==2.39.0
ipdb==0.8.1
pyvirtualdisplay==0.1.5

View File

@ -1,34 +0,0 @@
"""
The setup package to install the SeleniumBase Test Framework plugins
(Docker edition)
"""
from setuptools import setup, find_packages # noqa
setup(
name='seleniumbase',
version='1.1.34',
author='Michael Mintz',
author_email='@mintzworld',
maintainer='Michael Mintz',
description='Reliable Browser Automation - http://seleniumbase.com',
license='The MIT License',
packages=['seleniumbase',
'seleniumbase.core',
'seleniumbase.plugins',
'seleniumbase.fixtures',
'seleniumbase.common',
'seleniumbase.config'],
entry_points={
'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',
's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging',
('hipchat_reporting = seleniumbase.plugins'
'.hipchat_reporting_plugin:HipchatReporting'),
]
}
)