Skip to content

Commit

Permalink
Drop ZServer dependency by using the WSGI server.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed May 23, 2018
1 parent c1ff558 commit 7bdbc4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Expand Up @@ -6,6 +6,9 @@ Changelog

- Drop support for Zope 2, require Zope 4 now.

- Drop `ZServer` dependency.


4.0 (2016-07-22)
----------------

Expand Down
8 changes: 0 additions & 8 deletions setup.py
Expand Up @@ -15,8 +15,6 @@

from setuptools import setup, find_packages

import sys

INSTALL_REQUIRES = [
'setuptools',
'AccessControl',
Expand All @@ -29,12 +27,6 @@
'zope.event',
]

PY2_ONLY = [
'ZServer',
]

if sys.version_info[0] == 2:
INSTALL_REQUIRES += PY2_ONLY

setup(
name='Products.SiteErrorLog',
Expand Down
3 changes: 1 addition & 2 deletions src/Products/SiteErrorLog/tests/testSiteErrorLog.py
Expand Up @@ -23,12 +23,11 @@

from Products.SiteErrorLog.interfaces import IErrorRaisedEvent

Zope2.startup()


class SiteErrorLogTests(unittest.TestCase):

def setUp(self):
Zope2.startup_wsgi()
transaction.begin()
self.app = makerequest(Zope2.app())
try:
Expand Down

0 comments on commit 7bdbc4c

Please sign in to comment.