2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
2012-07-02 13:22:54 -07:00
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-11-29 08:43:16 -08:00
|
|
|
|
|
|
|
import os
|
2011-12-06 06:26:24 -08:00
|
|
|
from setuptools import setup, find_packages
|
2011-11-29 08:43:16 -08:00
|
|
|
|
|
|
|
try:
|
|
|
|
here = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
description = file(os.path.join(here, 'README.md')).read()
|
|
|
|
except IOError:
|
|
|
|
description = None
|
|
|
|
|
2012-07-20 17:19:38 -07:00
|
|
|
PACKAGE_VERSION = '1.2'
|
2011-11-29 08:43:16 -08:00
|
|
|
|
2012-07-02 13:22:54 -07:00
|
|
|
deps = ['mozinfo==0.3.3']
|
2011-11-29 08:43:16 -08:00
|
|
|
|
|
|
|
setup(name='mozInstall',
|
2012-07-20 17:19:38 -07:00
|
|
|
version=PACKAGE_VERSION,
|
2012-07-02 13:22:54 -07:00
|
|
|
description="This is a utility package for installing and uninstalling "
|
|
|
|
"Mozilla applications on various platforms.",
|
2011-11-29 08:43:16 -08:00
|
|
|
long_description=description,
|
2012-07-02 13:22:54 -07:00
|
|
|
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
2011-11-29 08:43:16 -08:00
|
|
|
classifiers=['Environment :: Console',
|
|
|
|
'Intended Audience :: Developers',
|
2012-07-02 13:22:54 -07:00
|
|
|
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
|
2011-11-29 08:43:16 -08:00
|
|
|
'Natural Language :: English',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
2012-07-02 13:22:54 -07:00
|
|
|
],
|
2011-11-29 08:43:16 -08:00
|
|
|
keywords='mozilla',
|
2012-07-02 13:22:54 -07:00
|
|
|
author='Mozilla Automation and Tools team',
|
|
|
|
author_email='tools@lists.mozilla.org',
|
2011-11-29 08:43:16 -08:00
|
|
|
url='https://github.com/mozilla/mozbase',
|
2012-07-02 13:22:54 -07:00
|
|
|
license='MPL 2.0',
|
2011-12-06 06:26:24 -08:00
|
|
|
packages=find_packages(exclude=['legacy']),
|
2011-11-29 08:43:16 -08:00
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
install_requires=deps,
|
|
|
|
entry_points="""
|
|
|
|
# -*- Entry points: -*-
|
|
|
|
[console_scripts]
|
2012-07-02 13:22:54 -07:00
|
|
|
mozinstall = mozinstall:install_cli
|
|
|
|
mozuninstall = mozinstall:uninstall_cli
|
2011-11-29 08:43:16 -08:00
|
|
|
""",
|
|
|
|
)
|