OLD | NEW |
(Empty) | |
| 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/. |
| 4 |
| 5 import os |
| 6 import sys |
| 7 from setuptools import setup |
| 8 |
| 9 PACKAGE_NAME = "mozrunner" |
| 10 PACKAGE_VERSION = '5.14' |
| 11 |
| 12 desc = """Reliable start/stop/configuration of Mozilla Applications (Firefox, Th
underbird, etc.)""" |
| 13 # take description from README |
| 14 here = os.path.dirname(os.path.abspath(__file__)) |
| 15 try: |
| 16 description = file(os.path.join(here, 'README.md')).read() |
| 17 except (OSError, IOError): |
| 18 description = '' |
| 19 |
| 20 deps = ['mozinfo == 0.4', |
| 21 'mozprocess == 0.8', |
| 22 'mozprofile == 0.4', |
| 23 ] |
| 24 |
| 25 # we only support python 2 right now |
| 26 assert sys.version_info[0] == 2 |
| 27 |
| 28 setup(name=PACKAGE_NAME, |
| 29 version=PACKAGE_VERSION, |
| 30 description=desc, |
| 31 long_description=description, |
| 32 classifiers=['Environment :: Console', |
| 33 'Intended Audience :: Developers', |
| 34 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2
.0)', |
| 35 'Natural Language :: English', |
| 36 'Operating System :: OS Independent', |
| 37 'Programming Language :: Python', |
| 38 'Topic :: Software Development :: Libraries :: Python Modules
', |
| 39 ], |
| 40 keywords='mozilla', |
| 41 author='Mozilla Automation and Tools team', |
| 42 author_email='tools@lists.mozilla.org', |
| 43 url='https://wiki.mozilla.org/Auto-tools/Projects/MozBase', |
| 44 license='MPL 2.0', |
| 45 packages=['mozrunner'], |
| 46 zip_safe=False, |
| 47 install_requires = deps, |
| 48 entry_points=""" |
| 49 # -*- Entry points: -*- |
| 50 [console_scripts] |
| 51 mozrunner = mozrunner:cli |
| 52 """, |
| 53 ) |
OLD | NEW |