diff --git a/httpbin/core.py b/httpbin/core.py index ad7c516..1f21b2d 100644 --- a/httpbin/core.py +++ b/httpbin/core.py @@ -12,10 +12,7 @@ import json import os import time -import newrelic.agent - from flask import Flask, Response, request, render_template, redirect, jsonify, make_response -from raven.contrib.flask import Sentry from werkzeug.datastructures import WWWAuthenticate from . import filters @@ -36,10 +33,6 @@ ENV_COOKIES = ( app = Flask(__name__) -# Setup error collection -sentry = Sentry(app) -newrelic.agent.initialize() - # ------ # Routes # ------ diff --git a/httpbin/helpers.py b/httpbin/helpers.py index ea45924..1c4986c 100644 --- a/httpbin/helpers.py +++ b/httpbin/helpers.py @@ -8,7 +8,7 @@ This module provides helper functions for httpbin. """ import base64 -import simplejson as json +import json from hashlib import md5 from werkzeug.http import parse_authorization_header diff --git a/httpbin/runner.py b/httpbin/runner.py index b004e97..aa32a46 100755 --- a/httpbin/runner.py +++ b/httpbin/runner.py @@ -5,7 +5,7 @@ httpbin.runner ~~~~~~~~~~~~~~ This module serves as a command-line runner for httpbin, powered by -gunicorn. +gevent. """ diff --git a/requirements.txt b/requirements.txt index bf31477..7eb0e98 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,15 +2,9 @@ Flask==0.8 Flask-Script==0.3.1 Jinja2==2.5.5 Werkzeug==0.8.1 -argparse==1.2.1 -blinker==1.2 decorator==3.3.2 distribute==0.6.15 eventlet==0.9.16 greenlet==0.3.1 gunicorn==0.13.4 -newrelic==1.2.1.265 -raven==1.9.3 -simplejson==2.4.0 -wsgiref==0.1.2 gevent \ No newline at end of file diff --git a/setup.py b/setup.py index 7525bbf..a24160e 100755 --- a/setup.py +++ b/setup.py @@ -20,11 +20,8 @@ deps = [ 'Flask-Script==0.3.1', 'Jinja2==2.5.5', 'Werkzeug==0.8.1', - 'argparse==1.2.1', 'distribute==0.6.15', - 'wsgiref==0.1.2', 'decorator==3.3.2', - 'omnijson==0.1.2', 'gevent' ]