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/.
7
from setuptools import setup, find_packages
9
PACKAGE_VERSION = '0.4'
11
# we only support python 2 right now
12
assert sys.version_info[0] == 2
14
deps = ["ManifestDestiny >= 0.5.4"]
15
# version-dependent dependencies
19
deps.append('simplejson')
23
deps.append('pysqlite')
26
# take description from README
27
here = os.path.dirname(os.path.abspath(__file__))
29
description = file(os.path.join(here, 'README.md')).read()
30
except (OSError, IOError):
33
setup(name='mozprofile',
34
version=PACKAGE_VERSION,
35
description="Handling of Mozilla Gecko based application profiles",
36
long_description=description,
37
classifiers=['Environment :: Console',
38
'Intended Audience :: Developers',
39
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
40
'Natural Language :: English',
41
'Operating System :: OS Independent',
42
'Programming Language :: Python',
43
'Topic :: Software Development :: Libraries :: Python Modules',
46
author='Mozilla Automation and Tools team',
47
author_email='tools@lists.mozilla.com',
48
url='https://github.com/mozilla/mozbase/tree/master/mozprofile',
50
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
51
include_package_data=True,
53
install_requires=deps,
55
# -*- Entry points: -*-
57
mozprofile = mozprofile:cli