~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/testing/mozbase/mozprofile/setup.py

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 os
 
6
import sys
 
7
from setuptools import setup, find_packages
 
8
 
 
9
PACKAGE_VERSION = '0.4'
 
10
 
 
11
# we only support python 2 right now
 
12
assert sys.version_info[0] == 2
 
13
 
 
14
deps = ["ManifestDestiny >= 0.5.4"]
 
15
# version-dependent dependencies
 
16
try:
 
17
    import json
 
18
except ImportError:
 
19
    deps.append('simplejson')
 
20
try:
 
21
    import sqlite3
 
22
except ImportError:
 
23
    deps.append('pysqlite')
 
24
 
 
25
 
 
26
# take description from README
 
27
here = os.path.dirname(os.path.abspath(__file__))
 
28
try:
 
29
    description = file(os.path.join(here, 'README.md')).read()
 
30
except (OSError, IOError):
 
31
    description = ''
 
32
 
 
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',
 
44
                   ],
 
45
      keywords='mozilla',
 
46
      author='Mozilla Automation and Tools team',
 
47
      author_email='tools@lists.mozilla.com',
 
48
      url='https://github.com/mozilla/mozbase/tree/master/mozprofile',
 
49
      license='MPL 2.0',
 
50
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
 
51
      include_package_data=True,
 
52
      zip_safe=False,
 
53
      install_requires=deps,
 
54
      entry_points="""
 
55
      # -*- Entry points: -*-
 
56
      [console_scripts]
 
57
      mozprofile = mozprofile:cli
 
58
      """,
 
59
    )