1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/testing/mozbase/mozinstall/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 os 1.9 +from setuptools import setup 1.10 + 1.11 +try: 1.12 + here = os.path.dirname(os.path.abspath(__file__)) 1.13 + description = file(os.path.join(here, 'README.md')).read() 1.14 +except IOError: 1.15 + description = None 1.16 + 1.17 +PACKAGE_VERSION = '0.10' 1.18 + 1.19 +deps = ['mozinfo >= 0.7', 1.20 + 'mozfile >= 1.0', 1.21 + ] 1.22 + 1.23 +setup(name='mozInstall', 1.24 + version=PACKAGE_VERSION, 1.25 + description="package for installing and uninstalling Mozilla applications", 1.26 + long_description="see http://mozbase.readthedocs.org/", 1.27 + # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers 1.28 + classifiers=['Environment :: Console', 1.29 + 'Intended Audience :: Developers', 1.30 + 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', 1.31 + 'Natural Language :: English', 1.32 + 'Operating System :: OS Independent', 1.33 + 'Programming Language :: Python', 1.34 + 'Topic :: Software Development :: Libraries :: Python Modules', 1.35 + ], 1.36 + keywords='mozilla', 1.37 + author='Mozilla Automation and Tools team', 1.38 + author_email='tools@lists.mozilla.org', 1.39 + url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase', 1.40 + license='MPL 2.0', 1.41 + packages=['mozinstall'], 1.42 + include_package_data=True, 1.43 + zip_safe=False, 1.44 + install_requires=deps, 1.45 + tests_require=['mozprocess >= 0.15',], 1.46 + # we have to generate two more executables for those systems that cannot run as Administrator 1.47 + # and the filename containing "install" triggers the UAC 1.48 + entry_points=""" 1.49 + # -*- Entry points: -*- 1.50 + [console_scripts] 1.51 + mozinstall = mozinstall:install_cli 1.52 + mozuninstall = mozinstall:uninstall_cli 1.53 + moz_add_to_system = mozinstall:install_cli 1.54 + moz_remove_from_system = mozinstall:uninstall_cli 1.55 + """, 1.56 + )