gecko-dev/testing/peptest/setup.py

49 lines
1.8 KiB
Python

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
import os
from setuptools import setup, find_packages
try:
here = os.path.dirname(os.path.abspath(__file__))
description = file(os.path.join(here, 'README.md')).read()
except IOError:
description = ''
version = "1.0"
dependencies = ['ManifestDestiny',
'mozhttpd',
'mozlog',
'mozprofile >= 0.1',
'mozprocess',
'mozrunner >= 3.0b3',
]
setup(name='peptest',
version=version,
description="""
Peptest is an automated testing framework designed to test whether or not the browser's
UI thread remains responsive while performing a variety of actions. Tests are simple
Javascript files which can optionally import Mozmill's driver to manipulate the user
interface in an automated fashion.
""",
long_description=description,
classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
author='Andrew Halberstadt',
author_email='ahalberstadt@mozilla.com',
url='https://wiki.mozilla.org/Auto-tools/Projects/peptest',
license='MPL 2.0',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
package_data={'': ['*.js', '*.css', '*.html', '*.txt', '*.xpi', '*.rdf', '*.xul', '*.jsm', '*.xml'],},
zip_safe=False,
install_requires=dependencies,
entry_points="""
# -*- Entry points: -*-
[console_scripts]
peptest = peptest.runpeptests:main
""",
)