testing/mozbase/mozrunner/setup.py

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # This Source Code Form is subject to the terms of the Mozilla Public
     2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
     3 # You can obtain one at http://mozilla.org/MPL/2.0/.
     5 import sys
     6 from setuptools import setup
     8 PACKAGE_NAME = 'mozrunner'
     9 PACKAGE_VERSION = '5.36'
    11 desc = """Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)"""
    13 deps = ['mozcrash >= 0.11',
    14         'mozdevice >= 0.30',
    15         'mozfile >= 1.0',
    16         'mozinfo >= 0.7',
    17         'mozlog >= 1.5',
    18         'mozprocess >= 0.17',
    19         'mozprofile >= 0.18',
    20        ]
    22 # we only support python 2 right now
    23 assert sys.version_info[0] == 2
    25 setup(name=PACKAGE_NAME,
    26       version=PACKAGE_VERSION,
    27       description=desc,
    28       long_description="see http://mozbase.readthedocs.org/",
    29       classifiers=['Environment :: Console',
    30                    'Intended Audience :: Developers',
    31                    'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
    32                    'Natural Language :: English',
    33                    'Operating System :: OS Independent',
    34                    'Programming Language :: Python',
    35                    'Topic :: Software Development :: Libraries :: Python Modules',
    36                    ],
    37       keywords='mozilla',
    38       author='Mozilla Automation and Tools team',
    39       author_email='tools@lists.mozilla.org',
    40       url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase',
    41       license='MPL 2.0',
    42       packages=['mozrunner'],
    43       package_data={'mozrunner': [
    44             'resources/metrotestharness.exe'
    45       ]},
    46       zip_safe=False,
    47       install_requires = deps,
    48       entry_points="""
    49       # -*- Entry points: -*-
    50       [console_scripts]
    51       mozrunner = mozrunner:cli
    52       """,
    53     )

mercurial