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 Apr 4, 2018
1 parent 39f9ccb commit 80f1e72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
4.1 (unreleased)
----------------

- Drop `ZServer` dependency.


4.0 (2016-07-22)
----------------
Expand Down
8 changes: 0 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 80f1e72

Please sign in to comment.