Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small updates including new readme

  • Loading branch information...
commit 97924dd6be6bf53b32808bf8e37cb0a50fe23b31 1 parent e0ad4a4
@rockyburt rockyburt authored
View
11 .gitignore
@@ -0,0 +1,11 @@
+env26/
+*.egg
+*.egg-info
+*.pyc
+*$py.class
+.coverage
+dist/
+*~
+.tox
+nosetests.xml
+pyramid_jinja2/coverage.xml
View
11 .hgignore
@@ -1,11 +0,0 @@
-
-# Automatically generated by `hgimportsvn`
-syntax:glob
-.svn
-.coverage
-*.pyc
-*.egg-info
-ez_setup
-*.egg-info
-*.egg
-test_logger.log
View
62 CHANGELOG
@@ -1,40 +1,58 @@
+.. -*-rst-*-
+
WebError Changelog
==================
0.10.3 (11/9/2010)
-* Don't require simplejson on Python 2.6
+------------------
+
+ * Don't require simplejson on Python 2.6
0.10.2 (2/12/2010)
-* Fix bug when displaying UTF-8 type errors.
-* Fix bug when emailing data with UTF-8.
+------------------
+
+ * Fix bug when displaying UTF-8 type errors.
+ * Fix bug when emailing data with UTF-8.
0.10.1 (12/29/2008)
-* Fix view source when __file__ is .pyo or $py.class.
+-------------------
+
+ * Fix view source when __file__ is .pyo or $py.class.
0.10 (12/18/2008)
-* Fix indentation of code lines in the traceback view.
-* Enable syntax highlighting in view source.
-* Fix a case where the response could become unicode; fix the docstring
- patching when using python -O
+-----------------
+
+ * Fix indentation of code lines in the traceback view.
+ * Enable syntax highlighting in view source.
+ * Fix a case where the response could become unicode; fix the docstring
+ patching when using python -O
0.9.1 (10/28/2008)
-* Python 2.6 compatibility
-* Making main page links more accessible to browsers with no JS on per
- Pylons Trac ticket #489.
+------------------
+
+ * Python 2.6 compatibility
+ * Making main page links more accessible to browsers with no JS on per
+ Pylons Trac ticket #489.
0.9 (07/08/2008)
-* Switched to using Pygments for highlighting.
-* Added better handling of exceptions that don't cleanly convert to str().
-* Added dependency library listings for XML output.
+----------------
+
+ * Switched to using Pygments for highlighting.
+ * Added better handling of exceptions that don't cleanly convert to str().
+ * Added dependency library listings for XML output.
0.8 (06/12/2008)
-* Added fairly basic pdbcapture system.
-* Fixed errors in unicode handling and exception displaying.
-* Updated JS to use jQuery where applicable. Updated jQuery lib and added
- jQuery hotkeys plugin.
-* Refactored to a flatter layout.
+----------------
+
+ * Added fairly basic pdbcapture system.
+ * Fixed errors in unicode handling and exception displaying.
+ * Updated JS to use jQuery where applicable. Updated jQuery lib and added
+ jQuery hotkeys plugin.
+ * Refactored to a flatter layout.
0.8a (02/27/2008)
-* Fixed error in email due to restructuring of project.
-* Added xml formattor output.
-* Added try/except in case an objects repr throws an exception.
+-----------------
+
+ * Fixed error in email due to restructuring of project.
+ * Added xml formattor output.
+ * Added try/except in case an objects repr throws an exception.
View
4 MANIFEST.in
@@ -1,2 +1,4 @@
+include README.rst CHANGELOG LICENSE
recursive-include weberror/eval-media *
-recursive-include weberror eval_template.html
+recursive-include weberror *.html
+recursive-include tests *
View
0  README
No changes.
View
33 README.rst
@@ -0,0 +1,33 @@
+.. -*-rst-*-
+
+Introduction
+============
+
+WebError provides WSGI middleware for the debugging and handling of errors
+inside of WSGI applications.
+
+Usage
+=====
+
+There are two primary WSGI middleware components:
+
+weberror.errormiddleware.make_error_middleware
+----------------------------------------------
+
+This middleware should be used for production
+deployed applications and is used to track extra information regarding
+errors that occur. These error entries can additionally be emailed to
+a given email address using the *error_email* option. Example usage::
+
+ from weberror.evalexception import make_eval_exception
+ app = make_eval_exception(app, global_conf)
+
+
+weberror.evalexception.make_eval_exception
+------------------------------------------
+
+This middleware is used to help debug errors in wsgi applications
+during development and should not be used in production. Example usage::
+
+ from weberror.evalexception import make_eval_exception
+ app = make_eval_exception(app, global_conf)
View
5 setup.cfg
@@ -1,6 +1,7 @@
[egg_info]
-tag_build = dev
-tag_date = true
+tag_build =
+tag_date = 0
+tag_svn_revision = 0
[nosetests]
verbose=True
View
13 setup.py
@@ -14,11 +14,14 @@
if sys.version_info[:2] < (2, 6):
install_requires.append('simplejson')
+README = open('README.rst').read()
+CHANGELOG = open('CHANGELOG').read()
+
+
setup(name='WebError',
version=version,
description="Web Error handling and exception catching",
- long_description="""\
-""",
+ long_description=README + '\n\n' + CHANGELOG,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
@@ -33,12 +36,12 @@
],
keywords='wsgi',
author='Ben Bangert, Ian Bicking, Mark Ramm',
- author_email='',
- url='',
+ author_email='invalid@invalid.com',
+ url='https://bitbucket.org/bbangert/weberror',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
- package_data = { 'weberror.evalexception': [ "*.html.tmpl", "media/*" ] },
+ package_data={'weberror.evalexception': ["*.html.tmpl", "media/*"]},
zip_safe=False,
install_requires=install_requires,
test_suite='nose.collector',
Please sign in to comment.
Something went wrong with that request. Please try again.