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.

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

mercurial