testing/mozbase/mozinstall/setup.py

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 # You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 4
michael@0 5 import os
michael@0 6 from setuptools import setup
michael@0 7
michael@0 8 try:
michael@0 9 here = os.path.dirname(os.path.abspath(__file__))
michael@0 10 description = file(os.path.join(here, 'README.md')).read()
michael@0 11 except IOError:
michael@0 12 description = None
michael@0 13
michael@0 14 PACKAGE_VERSION = '0.10'
michael@0 15
michael@0 16 deps = ['mozinfo >= 0.7',
michael@0 17 'mozfile >= 1.0',
michael@0 18 ]
michael@0 19
michael@0 20 setup(name='mozInstall',
michael@0 21 version=PACKAGE_VERSION,
michael@0 22 description="package for installing and uninstalling Mozilla applications",
michael@0 23 long_description="see http://mozbase.readthedocs.org/",
michael@0 24 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
michael@0 25 classifiers=['Environment :: Console',
michael@0 26 'Intended Audience :: Developers',
michael@0 27 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
michael@0 28 'Natural Language :: English',
michael@0 29 'Operating System :: OS Independent',
michael@0 30 'Programming Language :: Python',
michael@0 31 'Topic :: Software Development :: Libraries :: Python Modules',
michael@0 32 ],
michael@0 33 keywords='mozilla',
michael@0 34 author='Mozilla Automation and Tools team',
michael@0 35 author_email='tools@lists.mozilla.org',
michael@0 36 url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase',
michael@0 37 license='MPL 2.0',
michael@0 38 packages=['mozinstall'],
michael@0 39 include_package_data=True,
michael@0 40 zip_safe=False,
michael@0 41 install_requires=deps,
michael@0 42 tests_require=['mozprocess >= 0.15',],
michael@0 43 # we have to generate two more executables for those systems that cannot run as Administrator
michael@0 44 # and the filename containing "install" triggers the UAC
michael@0 45 entry_points="""
michael@0 46 # -*- Entry points: -*-
michael@0 47 [console_scripts]
michael@0 48 mozinstall = mozinstall:install_cli
michael@0 49 mozuninstall = mozinstall:uninstall_cli
michael@0 50 moz_add_to_system = mozinstall:install_cli
michael@0 51 moz_remove_from_system = mozinstall:uninstall_cli
michael@0 52 """,
michael@0 53 )

mercurial