Revert "Switch from CherryPy to cheroot"

This reverts commit 1ab2b3af83.

See https://github.com/cherrypy/cheroot/pull/2
This commit is contained in:
Florian Bruhin 2017-01-20 09:06:49 +01:00
parent 1ab2b3af83
commit 37dc99c26f
5 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
bzr+lp:beautifulsoup
git+https://github.com/cherrypy/cheroot.git
git+https://github.com/cherrypy/cherrypy.git
hg+https://bitbucket.org/ned/coveragepy
git+https://github.com/micheles/decorator.git
git+https://github.com/pallets/flask.git

View File

@ -1,7 +1,7 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py
beautifulsoup4==4.5.3
cheroot==5.0.1
CherryPy==8.9.1
click==6.7
coverage==4.3.4
decorator==4.0.11

View File

@ -1,5 +1,5 @@
beautifulsoup4
cheroot
CherryPy
coverage
Flask
httpbin

View File

@ -55,7 +55,8 @@ def get_build_exe_options():
opts = freeze.get_build_exe_options(skip_html=True)
opts['includes'] += pytest.freeze_includes()
opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4',
'httpbin', 'jinja2.ext', 'cheroot', 'pstats']
'httpbin', 'jinja2.ext', 'cherrypy.wsgiserver',
'pstats']
httpbin_dir = os.path.dirname(httpbin.__file__)
opts['include_files'] += [

View File

@ -31,7 +31,7 @@ import threading
from httpbin.core import app
from httpbin.structures import CaseInsensitiveDict
import cheroot.wsgi
import cherrypy.wsgiserver
import flask
@ -135,7 +135,7 @@ def log_request(response):
return response
class WSGIServer(cheroot.wsgi.WSGIServer):
class WSGIServer(cherrypy.wsgiserver.CherryPyWSGIServer):
"""A custom WSGIServer that prints a line on stderr when it's ready.