michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: # You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: import os michael@0: from setuptools import setup michael@0: michael@0: try: michael@0: here = os.path.dirname(os.path.abspath(__file__)) michael@0: description = file(os.path.join(here, 'README.md')).read() michael@0: except IOError: michael@0: description = None michael@0: michael@0: PACKAGE_VERSION = '0.10' michael@0: michael@0: deps = ['mozinfo >= 0.7', michael@0: 'mozfile >= 1.0', michael@0: ] michael@0: michael@0: setup(name='mozInstall', michael@0: version=PACKAGE_VERSION, michael@0: description="package for installing and uninstalling Mozilla applications", michael@0: long_description="see http://mozbase.readthedocs.org/", michael@0: # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers michael@0: classifiers=['Environment :: Console', michael@0: 'Intended Audience :: Developers', michael@0: 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', michael@0: 'Natural Language :: English', michael@0: 'Operating System :: OS Independent', michael@0: 'Programming Language :: Python', michael@0: 'Topic :: Software Development :: Libraries :: Python Modules', michael@0: ], michael@0: keywords='mozilla', michael@0: author='Mozilla Automation and Tools team', michael@0: author_email='tools@lists.mozilla.org', michael@0: url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase', michael@0: license='MPL 2.0', michael@0: packages=['mozinstall'], michael@0: include_package_data=True, michael@0: zip_safe=False, michael@0: install_requires=deps, michael@0: tests_require=['mozprocess >= 0.15',], michael@0: # we have to generate two more executables for those systems that cannot run as Administrator michael@0: # and the filename containing "install" triggers the UAC michael@0: entry_points=""" michael@0: # -*- Entry points: -*- michael@0: [console_scripts] michael@0: mozinstall = mozinstall:install_cli michael@0: mozuninstall = mozinstall:uninstall_cli michael@0: moz_add_to_system = mozinstall:install_cli michael@0: moz_remove_from_system = mozinstall:uninstall_cli michael@0: """, michael@0: )