1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/testing/mozbase/mozrunner/setup.py Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,53 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 +# You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +import sys 1.9 +from setuptools import setup 1.10 + 1.11 +PACKAGE_NAME = 'mozrunner' 1.12 +PACKAGE_VERSION = '5.36' 1.13 + 1.14 +desc = """Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)""" 1.15 + 1.16 +deps = ['mozcrash >= 0.11', 1.17 + 'mozdevice >= 0.30', 1.18 + 'mozfile >= 1.0', 1.19 + 'mozinfo >= 0.7', 1.20 + 'mozlog >= 1.5', 1.21 + 'mozprocess >= 0.17', 1.22 + 'mozprofile >= 0.18', 1.23 + ] 1.24 + 1.25 +# we only support python 2 right now 1.26 +assert sys.version_info[0] == 2 1.27 + 1.28 +setup(name=PACKAGE_NAME, 1.29 + version=PACKAGE_VERSION, 1.30 + description=desc, 1.31 + long_description="see http://mozbase.readthedocs.org/", 1.32 + classifiers=['Environment :: Console', 1.33 + 'Intended Audience :: Developers', 1.34 + 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', 1.35 + 'Natural Language :: English', 1.36 + 'Operating System :: OS Independent', 1.37 + 'Programming Language :: Python', 1.38 + 'Topic :: Software Development :: Libraries :: Python Modules', 1.39 + ], 1.40 + keywords='mozilla', 1.41 + author='Mozilla Automation and Tools team', 1.42 + author_email='tools@lists.mozilla.org', 1.43 + url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase', 1.44 + license='MPL 2.0', 1.45 + packages=['mozrunner'], 1.46 + package_data={'mozrunner': [ 1.47 + 'resources/metrotestharness.exe' 1.48 + ]}, 1.49 + zip_safe=False, 1.50 + install_requires = deps, 1.51 + entry_points=""" 1.52 + # -*- Entry points: -*- 1.53 + [console_scripts] 1.54 + mozrunner = mozrunner:cli 1.55 + """, 1.56 + )