robotframework-2.7.7.setup.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robotframework Show documentation
Show all versions of robotframework Show documentation
High level test automation framework
The newest version!
#!/usr/bin/env python
import sys
import os
from os.path import join, dirname
from distutils.core import setup
execfile(join(dirname(__file__), 'src', 'robot', 'version.py'))
# Maximum width in Windows installer seems to be 70 characters -------|
DESCRIPTION = """
Robot Framework is a generic test automation framework for acceptance
testing and acceptance test-driven development (ATDD). It has
easy-to-use tabular test data syntax and utilizes the keyword-driven
testing approach. Its testing capabilities can be extended by test
libraries implemented either with Python or Java, and users can create
new keywords from existing ones using the same syntax that is used for
creating test cases.
""".strip()
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
""".strip().splitlines()
PACKAGES = ['robot', 'robot.api', 'robot.common', 'robot.conf',
'robot.htmldata', 'robot.libdocpkg', 'robot.libraries',
'robot.model', 'robot.output', 'robot.parsing',
'robot.reporting', 'robot.result', 'robot.running',
'robot.running.timeouts', 'robot.utils', 'robot.variables',
'robot.writer']
PACKAGE_DATA = [join('htmldata', directory, pattern)
for directory in 'rebot', 'libdoc', 'testdoc', 'lib', 'common'
for pattern in '*.html', '*.css', '*.js']
if sys.platform.startswith('java'):
SCRIPTS = ['jybot', 'jyrebot']
elif sys.platform == 'cli':
SCRIPTS = ['ipybot', 'ipyrebot']
else:
SCRIPTS = ['pybot', 'rebot']
SCRIPTS = [join('src', 'bin', s) for s in SCRIPTS]
if os.sep == '\\':
SCRIPTS = [s+'.bat' for s in SCRIPTS]
if 'bdist_wininst' in sys.argv:
SCRIPTS.append('robot_postinstall.py')
setup(
name = 'robotframework',
version = get_version(sep=''),
author = 'Robot Framework Developers',
author_email = '[email protected]',
url = 'http://robotframework.org',
download_url = 'http://code.google.com/p/robotframework/downloads/list?can=1',
license = 'Apache License 2.0',
description = 'A generic test automation framework',
long_description = DESCRIPTION,
keywords = 'robotframework testing testautomation atdd',
platforms = 'any',
classifiers = CLASSIFIERS,
package_dir = {'': 'src'},
package_data = {'robot': PACKAGE_DATA},
packages = PACKAGES,
scripts = SCRIPTS,
)