summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Bicking <ian@ianbicking.org>2005-08-31 02:37:29 +0000
committerIan Bicking <ian@ianbicking.org>2005-08-31 02:37:29 +0000
commit2aa86e59277804c89d0c543299593d7a6ed652ed (patch)
treeec4ddba9324d7c3b41cf071442abdc05fb1c74dd
parent011e0319b34ee2978c2a02f00a07c352a11be15e (diff)
downloadpaste-git-2aa86e59277804c89d0c543299593d7a6ed652ed.tar.gz
Added license comment to all substantive files
-rw-r--r--paste/cascade.py3
-rw-r--r--paste/cgiapp.py3
-rw-r--r--paste/cgitb_catcher.py3
-rw-r--r--paste/docsupport/extract.py3
-rw-r--r--paste/docsupport/findmodules.py3
-rwxr-xr-xpaste/docsupport/gensite.py3
-rw-r--r--paste/docsupport/metadata_real.py6
-rwxr-xr-xpaste/doctest_webapp.py3
-rw-r--r--paste/exceptions/errormiddleware.py3
-rw-r--r--paste/exceptions/formatter.py3
-rw-r--r--paste/exceptions/reporter.py3
-rw-r--r--paste/exceptions/serial_number_generator.py3
-rw-r--r--paste/fixture.py3
-rw-r--r--paste/flup_session.py3
-rw-r--r--paste/gzipper.py3
-rw-r--r--paste/httpexceptions.py3
-rw-r--r--paste/lint.py3
-rw-r--r--paste/login.py3
-rw-r--r--paste/printdebug.py3
-rw-r--r--paste/profilemiddleware.py3
-rw-r--r--paste/pycgiwrapper.py3
-rw-r--r--paste/recursive.py3
-rw-r--r--paste/session.py3
-rw-r--r--paste/url.py3
-rw-r--r--paste/urlmap.py3
-rw-r--r--paste/urlparser.py3
-rw-r--r--paste/util/classinit.py3
-rw-r--r--paste/util/classinstance.py3
-rw-r--r--paste/util/filemixin.py3
-rw-r--r--paste/util/findpackage.py3
-rw-r--r--paste/util/import_string.py3
-rw-r--r--paste/util/quoting.py3
-rw-r--r--paste/util/threadedprint.py3
-rw-r--r--paste/util/threadinglocal.py3
-rw-r--r--paste/wdg_validate.py3
-rw-r--r--paste/wsgilib.py3
-rwxr-xr-xscripts/paster18
37 files changed, 108 insertions, 21 deletions
diff --git a/paste/cascade.py b/paste/cascade.py
index ad3a36b..4931fd5 100644
--- a/paste/cascade.py
+++ b/paste/cascade.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Cascades through several applications, so long as applications
return ``404 Not Found``.
diff --git a/paste/cgiapp.py b/paste/cgiapp.py
index b1f1077..4b1b5eb 100644
--- a/paste/cgiapp.py
+++ b/paste/cgiapp.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Application that runs a CGI script.
"""
diff --git a/paste/cgitb_catcher.py b/paste/cgitb_catcher.py
index 43df21c..8e4d9d0 100644
--- a/paste/cgitb_catcher.py
+++ b/paste/cgitb_catcher.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
WSGI middleware
diff --git a/paste/docsupport/extract.py b/paste/docsupport/extract.py
index bcf06be..3837863 100644
--- a/paste/docsupport/extract.py
+++ b/paste/docsupport/extract.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
if __name__ == '__main__':
# This has to be done very early on, to make the real module
# replace the stubby version
diff --git a/paste/docsupport/findmodules.py b/paste/docsupport/findmodules.py
index 15a48f3..d917291 100644
--- a/paste/docsupport/findmodules.py
+++ b/paste/docsupport/findmodules.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Finds all modules in a packages, loads them, and returns them.
"""
diff --git a/paste/docsupport/gensite.py b/paste/docsupport/gensite.py
index e8c10e0..3b3c6df 100755
--- a/paste/docsupport/gensite.py
+++ b/paste/docsupport/gensite.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
#!/usr/bin/env python
"""
This is a very basic script to generate a site from a set of ReST
diff --git a/paste/docsupport/metadata_real.py b/paste/docsupport/metadata_real.py
index e5777e9..a0b93eb 100644
--- a/paste/docsupport/metadata_real.py
+++ b/paste/docsupport/metadata_real.py
@@ -1,6 +1,6 @@
-# @@: There are too many imports here; this shouldn't have much
-# overhead except during extraction, but everything in this
-# module has to be imported regardless.
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import sys
import copy
import types
diff --git a/paste/doctest_webapp.py b/paste/doctest_webapp.py
index a8a63c9..9b07d8a 100755
--- a/paste/doctest_webapp.py
+++ b/paste/doctest_webapp.py
@@ -1,4 +1,7 @@
#!/usr/bin/env python2.4
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
These are functions for use when doctest-testing a document.
"""
diff --git a/paste/exceptions/errormiddleware.py b/paste/exceptions/errormiddleware.py
index ad960fc..98e704d 100644
--- a/paste/exceptions/errormiddleware.py
+++ b/paste/exceptions/errormiddleware.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Error handler middleware
"""
diff --git a/paste/exceptions/formatter.py b/paste/exceptions/formatter.py
index 89541b2..c1f6ea1 100644
--- a/paste/exceptions/formatter.py
+++ b/paste/exceptions/formatter.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Formatters for the exception data that comes from ExceptionCollector.
"""
diff --git a/paste/exceptions/reporter.py b/paste/exceptions/reporter.py
index 8568147..2690131 100644
--- a/paste/exceptions/reporter.py
+++ b/paste/exceptions/reporter.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
from email.MIMEText import MIMEText
from email.MIMEMultipart import MIMEMultipart
import smtplib
diff --git a/paste/exceptions/serial_number_generator.py b/paste/exceptions/serial_number_generator.py
index c4abc13..eabc9ca 100644
--- a/paste/exceptions/serial_number_generator.py
+++ b/paste/exceptions/serial_number_generator.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Creates a human-readable identifier, using numbers and digits,
avoiding ambiguous numbers and letters. hash_identifier can be used
diff --git a/paste/fixture.py b/paste/fixture.py
index 18f20d6..8f444a9 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import sys
import random
import urllib
diff --git a/paste/flup_session.py b/paste/flup_session.py
index 47eaaf6..4f7c9aa 100644
--- a/paste/flup_session.py
+++ b/paste/flup_session.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Creates a session object; then in your application, use::
diff --git a/paste/gzipper.py b/paste/gzipper.py
index 88ddd9c..c7a3198 100644
--- a/paste/gzipper.py
+++ b/paste/gzipper.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
WSGI middleware
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index 11e8c98..d5a7e07 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
WSGI middleware
diff --git a/paste/lint.py b/paste/lint.py
index 730d72d..dd80ecc 100644
--- a/paste/lint.py
+++ b/paste/lint.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import re
import sys
from types import *
diff --git a/paste/login.py b/paste/login.py
index 3fe9890..49d9e43 100644
--- a/paste/login.py
+++ b/paste/login.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Login/authentication middleware
diff --git a/paste/printdebug.py b/paste/printdebug.py
index 95630e3..a801f72 100644
--- a/paste/printdebug.py
+++ b/paste/printdebug.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import sys
from cStringIO import StringIO
import re
diff --git a/paste/profilemiddleware.py b/paste/profilemiddleware.py
index 69d5bce..3b84cd0 100644
--- a/paste/profilemiddleware.py
+++ b/paste/profilemiddleware.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import sys
import os
import hotshot
diff --git a/paste/pycgiwrapper.py b/paste/pycgiwrapper.py
index 6695fcb..84f286b 100644
--- a/paste/pycgiwrapper.py
+++ b/paste/pycgiwrapper.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
WSGI middleware
diff --git a/paste/recursive.py b/paste/recursive.py
index 93a5776..2aeee5d 100644
--- a/paste/recursive.py
+++ b/paste/recursive.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
from cStringIO import StringIO
from paste.docsupport import metadata
diff --git a/paste/session.py b/paste/session.py
index b1c7e4c..6b6291a 100644
--- a/paste/session.py
+++ b/paste/session.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
Creates a session object; then in your application, use::
diff --git a/paste/url.py b/paste/url.py
index 18c7a44..d72e541 100644
--- a/paste/url.py
+++ b/paste/url.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
This module implements a class for handling URLs.
"""
diff --git a/paste/urlmap.py b/paste/urlmap.py
index 09171a2..d631754 100644
--- a/paste/urlmap.py
+++ b/paste/urlmap.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
from UserDict import DictMixin
import re
import os
diff --git a/paste/urlparser.py b/paste/urlparser.py
index 2d6bf4e..6da96f8 100644
--- a/paste/urlparser.py
+++ b/paste/urlparser.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import os
import sys
import imp
diff --git a/paste/util/classinit.py b/paste/util/classinit.py
index 05156d5..e4e6b28 100644
--- a/paste/util/classinit.py
+++ b/paste/util/classinit.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
class ClassInitMeta(type):
def __new__(meta, class_name, bases, new_attrs):
diff --git a/paste/util/classinstance.py b/paste/util/classinstance.py
index ef81c60..436d216 100644
--- a/paste/util/classinstance.py
+++ b/paste/util/classinstance.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
class classinstancemethod(object):
"""
Acts like a class method when called from a class, like an
diff --git a/paste/util/filemixin.py b/paste/util/filemixin.py
index b28a9cc..a7146f6 100644
--- a/paste/util/filemixin.py
+++ b/paste/util/filemixin.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
class FileMixin:
"""
diff --git a/paste/util/findpackage.py b/paste/util/findpackage.py
index 276e216..1d12c58 100644
--- a/paste/util/findpackage.py
+++ b/paste/util/findpackage.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import sys
import os
diff --git a/paste/util/import_string.py b/paste/util/import_string.py
index 2d3738c..536d486 100644
--- a/paste/util/import_string.py
+++ b/paste/util/import_string.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
'imports' a string -- converts a string to a Python object, importing
any necessary modules and evaluating the expression. Everything
diff --git a/paste/util/quoting.py b/paste/util/quoting.py
index db150d7..d029518 100644
--- a/paste/util/quoting.py
+++ b/paste/util/quoting.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
import cgi
import htmlentitydefs
import urllib
diff --git a/paste/util/threadedprint.py b/paste/util/threadedprint.py
index 1bb9556..ed678fb 100644
--- a/paste/util/threadedprint.py
+++ b/paste/util/threadedprint.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
threadedprint.py
================
diff --git a/paste/util/threadinglocal.py b/paste/util/threadinglocal.py
index 33c4dfd..57afa17 100644
--- a/paste/util/threadinglocal.py
+++ b/paste/util/threadinglocal.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
try:
import threading
except ImportError:
diff --git a/paste/wdg_validate.py b/paste/wdg_validate.py
index e2dfacf..3f38493 100644
--- a/paste/wdg_validate.py
+++ b/paste/wdg_validate.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
from cStringIO import StringIO
try:
import subprocess
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index b261477..c8ea591 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -1,3 +1,6 @@
+# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
+# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+
"""
A module of many disparate routines.
"""
diff --git a/scripts/paster b/scripts/paster
deleted file mode 100755
index 16eaac5..0000000
--- a/scripts/paster
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-import os
-import sys
-
-try:
- here = __file__
-except NameError:
- # Python 2.2
- here = sys.argv[0]
-
-relative_paste = os.path.join(
- os.path.dirname(os.path.dirname(os.path.abspath(here))), 'paste')
-
-if os.path.exists(relative_paste):
- sys.path.insert(0, os.path.dirname(relative_paste))
-
-from paste import app_setup
-sys.exit(app_setup.run(sys.argv))