~justizin/zope.sendmail/id_marker_lp_569541

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: kobold
  • Date: 2009-12-18 20:27:54 UTC
  • Revision ID: svn-v4:62d5b8a3-27da-0310-9561-8e5933582275:zope.sendmail/trunk:106772
Removed dependency on ``zope.security``.

The security support is optional, and only available if the ``zope.security``
package is available. This change is similar to the optional security support
introduced in ``zope.component`` 3.8.0, and in fact it uses the same helpers.


Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
          open('README.txt').read(),
35
35
          open('CHANGES.txt').read(),
36
36
          ]),
37
 
 
38
37
      packages=find_packages('src'),
39
 
      package_dir = {'': 'src'},
40
 
 
 
38
      package_dir={'': 'src'},
41
39
      namespace_packages=['zope',],
42
 
      tests_require = ['zope.testing'],
 
40
      tests_require=['zope.security',
 
41
                     'zope.testing',
 
42
                    ],
 
43
      extras_require=dict(test=['zope.security',
 
44
                                'zope.testing']),
43
45
      install_requires=['setuptools',
44
46
                        'transaction',
45
47
                        'zope.i18nmessageid',
46
48
                        'zope.interface',
47
49
                        'zope.schema',
48
 
 
49
 
                        # XXX: maybe the following should moved into
50
 
                        # extras to ease reusability.
51
 
 
52
50
                        # it's only needed for vocabulary and zcml
53
51
                        'zope.component>=3.8.0',
54
 
 
55
52
                        # these are only needed for zcml
56
53
                        'zope.configuration',
57
 
                        'zope.security',
58
 
 
59
54
                       ],
60
55
      include_package_data = True,
61
56
      zip_safe = False,