testing/mozbase/mozprofile/setup.py

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testing/mozbase/mozprofile/setup.py	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.6 +# You can obtain one at http://mozilla.org/MPL/2.0/.
     1.7 +
     1.8 +import sys
     1.9 +from setuptools import setup
    1.10 +
    1.11 +PACKAGE_NAME = 'mozprofile'
    1.12 +PACKAGE_VERSION = '0.21'
    1.13 +
    1.14 +# we only support python 2 right now
    1.15 +assert sys.version_info[0] == 2
    1.16 +
    1.17 +deps = ['ManifestDestiny >= 0.5.4',
    1.18 +        'mozfile >= 1.0',
    1.19 +        'mozlog']
    1.20 +
    1.21 +setup(name=PACKAGE_NAME,
    1.22 +      version=PACKAGE_VERSION,
    1.23 +      description="Library to create and modify Mozilla application profiles",
    1.24 +      long_description="see http://mozbase.readthedocs.org/",
    1.25 +      classifiers=['Environment :: Console',
    1.26 +                   'Intended Audience :: Developers',
    1.27 +                   'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
    1.28 +                   'Natural Language :: English',
    1.29 +                   'Operating System :: OS Independent',
    1.30 +                   'Programming Language :: Python',
    1.31 +                   'Topic :: Software Development :: Libraries :: Python Modules',
    1.32 +                   ],
    1.33 +      keywords='mozilla',
    1.34 +      author='Mozilla Automation and Tools team',
    1.35 +      author_email='tools@lists.mozilla.org',
    1.36 +      url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase',
    1.37 +      license='MPL 2.0',
    1.38 +      packages=['mozprofile'],
    1.39 +      include_package_data=True,
    1.40 +      zip_safe=False,
    1.41 +      install_requires=deps,
    1.42 +      tests_require=['mozhttpd'],
    1.43 +      entry_points="""
    1.44 +      # -*- Entry points: -*-
    1.45 +      [console_scripts]
    1.46 +      mozprofile = mozprofile:cli
    1.47 +      view-profile = mozprofile:view_profile
    1.48 +      diff-profiles = mozprofile:diff_profiles
    1.49 +      """,
    1.50 +    )

mercurial