|
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/. |
|
4 |
|
5 import sys |
|
6 from setuptools import setup |
|
7 |
|
8 PACKAGE_NAME = 'mozprofile' |
|
9 PACKAGE_VERSION = '0.21' |
|
10 |
|
11 # we only support python 2 right now |
|
12 assert sys.version_info[0] == 2 |
|
13 |
|
14 deps = ['ManifestDestiny >= 0.5.4', |
|
15 'mozfile >= 1.0', |
|
16 'mozlog'] |
|
17 |
|
18 setup(name=PACKAGE_NAME, |
|
19 version=PACKAGE_VERSION, |
|
20 description="Library to create and modify Mozilla application profiles", |
|
21 long_description="see http://mozbase.readthedocs.org/", |
|
22 classifiers=['Environment :: Console', |
|
23 'Intended Audience :: Developers', |
|
24 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', |
|
25 'Natural Language :: English', |
|
26 'Operating System :: OS Independent', |
|
27 'Programming Language :: Python', |
|
28 'Topic :: Software Development :: Libraries :: Python Modules', |
|
29 ], |
|
30 keywords='mozilla', |
|
31 author='Mozilla Automation and Tools team', |
|
32 author_email='tools@lists.mozilla.org', |
|
33 url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase', |
|
34 license='MPL 2.0', |
|
35 packages=['mozprofile'], |
|
36 include_package_data=True, |
|
37 zip_safe=False, |
|
38 install_requires=deps, |
|
39 tests_require=['mozhttpd'], |
|
40 entry_points=""" |
|
41 # -*- Entry points: -*- |
|
42 [console_scripts] |
|
43 mozprofile = mozprofile:cli |
|
44 view-profile = mozprofile:view_profile |
|
45 diff-profiles = mozprofile:diff_profiles |
|
46 """, |
|
47 ) |