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
|
2012-09-07 17:58:39 -07:00
|
|
|
from setuptools import setup
|
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
|
|
|
|
|
2013-10-22 15:42:05 -07:00
|
|
|
PACKAGE_VERSION = '1.8'
|
2011-11-29 08:43:16 -08:00
|
|
|
|
2013-10-22 15:42:05 -07:00
|
|
|
deps = ['mozinfo >= 0.7',
|
2012-10-10 09:27:06 -07:00
|
|
|
'mozfile'
|
|
|
|
]
|
2011-11-29 08:43:16 -08:00
|
|
|
|
|
|
|
setup(name='mozInstall',
|
2012-07-20 17:19:38 -07:00
|
|
|
version=PACKAGE_VERSION,
|
2013-06-17 13:23:38 -07:00
|
|
|
description="package for installing and uninstalling Mozilla applications",
|
|
|
|
long_description="see http://mozbase.readthedocs.org/",
|
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',
|
2013-07-25 13:27:53 -07:00
|
|
|
url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase',
|
2012-07-02 13:22:54 -07:00
|
|
|
license='MPL 2.0',
|
2012-09-07 17:58:39 -07:00
|
|
|
packages=['mozinstall'],
|
2011-11-29 08:43:16 -08:00
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
install_requires=deps,
|
2013-06-17 13:23:38 -07:00
|
|
|
# we have to generate two more executables for those systems that cannot run as Administrator
|
|
|
|
# and the filename containing "install" triggers the UAC
|
2011-11-29 08:43:16 -08:00
|
|
|
entry_points="""
|
|
|
|
# -*- Entry points: -*-
|
|
|
|
[console_scripts]
|
2012-07-02 13:22:54 -07:00
|
|
|
mozinstall = mozinstall:install_cli
|
|
|
|
mozuninstall = mozinstall:uninstall_cli
|
2013-06-17 13:23:38 -07:00
|
|
|
moz_add_to_system = mozinstall:install_cli
|
|
|
|
moz_remove_from_system = mozinstall:uninstall_cli
|
2011-11-29 08:43:16 -08:00
|
|
|
""",
|
|
|
|
)
|