~ubuntu-branches/ubuntu/saucy/zope.exceptions/saucy-201307160719

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Gediminas Paulauskas
  • Date: 2011-02-23 18:17:20 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: menesis@pov.lt-20110223181720-2hkqlx934at2mm1j
Tags: 3.6.1-0ubuntu1
* New upstream release.
* debian/control: build-depend on python-all, not python-all-dev.
* debian/control: build-depend on python-van.pydeb >= 1.3.0-2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
##############################################################################
2
2
#
3
 
# Copyright (c) 2006 Zope Corporation and Contributors.
 
3
# Copyright (c) 2006 Zope Foundation and Contributors.
4
4
# All Rights Reserved.
5
5
#
6
6
# This software is subject to the provisions of the Zope Public License,
11
11
# FOR A PARTICULAR PURPOSE.
12
12
#
13
13
##############################################################################
 
14
# This package is developed by the Zope Toolkit project, documented here:
 
15
# http://docs.zope.org/zopetoolkit
 
16
# When developing and releasing this package, please follow the documented
 
17
# Zope Toolkit policies as described by this documentation.
 
18
##############################################################################
14
19
"""Setup for zope.exceptions package
15
 
 
16
 
$Id: setup.py 85903 2008-04-30 15:54:41Z aaron $
17
20
"""
18
21
import os
19
22
from setuptools import setup, find_packages
 
23
import sys
 
24
if sys.version_info < (3, ):
 
25
    extra = {}
 
26
else:
 
27
    # Python 3 support:
 
28
    extra = dict(
 
29
        use_2to3=True,
 
30
        setup_requires=['zope.fixers'],
 
31
        use_2to3_fixers = ['zope.fixers'],
 
32
    )
 
33
 
20
34
 
21
35
def read(*rnames):
22
36
    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
23
37
 
 
38
 
24
39
setup(name='zope.exceptions',
25
 
      version = '3.5.2',
26
 
      author='Zope Corporation and Contributors',
27
 
      author_email='zope3-dev@zope.org',
 
40
      version = '3.6.1',
 
41
      author='Zope Foundation and Contributors',
 
42
      author_email='zope-dev@zope.org',
28
43
      description='Zope Exceptions',
29
 
      long_description=(
30
 
          read('README.txt')
31
 
          + '\n\n' +
32
 
          read('CHANGES.txt')
33
 
          ),
34
 
      keywords = 'zope3 exceptions',
 
44
      long_description=(read('README.txt') + '\n\n' +
 
45
                        read('CHANGES.txt')),
 
46
      keywords = 'zope exceptions',
35
47
      classifiers = [
36
48
          'Development Status :: 5 - Production/Stable',
37
49
          'Environment :: Web Environment',
38
50
          'Intended Audience :: Developers',
39
51
          'License :: OSI Approved :: Zope Public License',
40
52
          'Programming Language :: Python',
 
53
          'Programming Language :: Python :: 2.4',
 
54
          'Programming Language :: Python :: 2.5',
 
55
          'Programming Language :: Python :: 2.6',
 
56
          'Programming Language :: Python :: 3',
 
57
          'Programming Language :: Python :: 3.1',
41
58
          'Natural Language :: English',
42
59
          'Operating System :: OS Independent',
43
60
          'Topic :: Internet :: WWW/HTTP',
47
64
      packages=find_packages('src'),
48
65
      package_dir = {'': 'src'},
49
66
      namespace_packages=['zope'],
50
 
      extras_require = dict(
51
 
          test=['zope.testing'],
52
 
          ),
53
67
      install_requires=['setuptools',
54
68
                        'zope.interface',
55
69
                       ],
 
70
      test_suite = 'zope.exceptions.tests',
56
71
      include_package_data = True,
57
72
      zip_safe = False,
58
 
      )
 
73
      **extra)