1.1 --- a/examples/CGI/CalendarHandler.py Fri Jun 09 22:58:48 2006 +0000 1.2 +++ b/examples/CGI/CalendarHandler.py Fri Jun 09 22:59:09 2006 +0000 1.3 @@ -1,10 +1,11 @@ 1.4 #!/usr/bin/env python 1.5 1.6 -# NOTE: Path manipulation requires manual customisation. 1.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 1.8 +# on the PYTHONPATH. 1.9 1.10 -import sys 1.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 1.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 1.13 +#import sys 1.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 1.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 1.16 1.17 from WebStack.Adapters.CGI import deploy 1.18 from Calendar import CalendarResource
2.1 --- a/examples/CGI/CookiesHandler.py Fri Jun 09 22:58:48 2006 +0000 2.2 +++ b/examples/CGI/CookiesHandler.py Fri Jun 09 22:59:09 2006 +0000 2.3 @@ -1,10 +1,11 @@ 2.4 #!/usr/bin/env python 2.5 2.6 -# NOTE: Path manipulation requires manual customisation. 2.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 2.8 +# on the PYTHONPATH. 2.9 2.10 -import sys 2.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 2.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 2.13 +#import sys 2.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 2.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 2.16 2.17 from WebStack.Adapters.CGI import deploy 2.18 from Cookies import CookiesResource
3.1 --- a/examples/CGI/FormHandler.py Fri Jun 09 22:58:48 2006 +0000 3.2 +++ b/examples/CGI/FormHandler.py Fri Jun 09 22:59:09 2006 +0000 3.3 @@ -1,10 +1,11 @@ 3.4 #!/usr/bin/env python 3.5 3.6 -# NOTE: Path manipulation requires manual customisation. 3.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 3.8 +# on the PYTHONPATH. 3.9 3.10 -import sys 3.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 3.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 3.13 +#import sys 3.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 3.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 3.16 3.17 from WebStack.Adapters.CGI import deploy 3.18 from Form import FormResource
4.1 --- a/examples/CGI/LoginHandler.py Fri Jun 09 22:58:48 2006 +0000 4.2 +++ b/examples/CGI/LoginHandler.py Fri Jun 09 22:59:09 2006 +0000 4.3 @@ -1,10 +1,11 @@ 4.4 #!/usr/bin/env python 4.5 4.6 -# NOTE: Path manipulation requires manual customisation. 4.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 4.8 +# on the PYTHONPATH. 4.9 4.10 -import sys 4.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 4.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 4.13 +#import sys 4.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 4.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 4.16 4.17 from WebStack.Adapters.CGI import deploy 4.18 from WebStack.Resources.Login import LoginResource, LoginAuthenticator
5.1 --- a/examples/CGI/SessionsHandler.py Fri Jun 09 22:58:48 2006 +0000 5.2 +++ b/examples/CGI/SessionsHandler.py Fri Jun 09 22:59:09 2006 +0000 5.3 @@ -1,10 +1,11 @@ 5.4 #!/usr/bin/env python 5.5 5.6 -# NOTE: Path manipulation requires manual customisation. 5.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 5.8 +# on the PYTHONPATH. 5.9 5.10 -import sys 5.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 5.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 5.13 +#import sys 5.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 5.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 5.16 5.17 from WebStack.Adapters.CGI import deploy 5.18 from Sessions import SessionsResource
6.1 --- a/examples/CGI/SimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 6.2 +++ b/examples/CGI/SimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 6.3 @@ -1,10 +1,11 @@ 6.4 #!/usr/bin/env python 6.5 6.6 -# NOTE: Path manipulation requires manual customisation. 6.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 6.8 +# on the PYTHONPATH. 6.9 6.10 -import sys 6.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 6.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 6.13 +#import sys 6.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 6.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 6.16 6.17 from WebStack.Adapters.CGI import deploy 6.18 from Simple import SimpleResource
7.1 --- a/examples/CGI/SimpleWithLoginHandler.py Fri Jun 09 22:58:48 2006 +0000 7.2 +++ b/examples/CGI/SimpleWithLoginHandler.py Fri Jun 09 22:59:09 2006 +0000 7.3 @@ -1,10 +1,11 @@ 7.4 #!/usr/bin/env python 7.5 7.6 -# NOTE: Path manipulation requires manual customisation. 7.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 7.8 +# on the PYTHONPATH. 7.9 7.10 -import sys 7.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 7.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 7.13 +#import sys 7.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 7.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 7.16 7.17 from WebStack.Adapters.CGI import deploy 7.18 from WebStack.Resources.LoginRedirect import LoginRedirectResource, LoginRedirectAuthenticator
8.1 --- a/examples/CGI/UnicodeHandler.py Fri Jun 09 22:58:48 2006 +0000 8.2 +++ b/examples/CGI/UnicodeHandler.py Fri Jun 09 22:59:09 2006 +0000 8.3 @@ -1,10 +1,11 @@ 8.4 #!/usr/bin/env python 8.5 8.6 -# NOTE: Path manipulation requires manual customisation. 8.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 8.8 +# on the PYTHONPATH. 8.9 8.10 -import sys 8.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 8.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 8.13 +#import sys 8.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 8.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 8.16 8.17 from WebStack.Adapters.CGI import deploy 8.18 from Unicode import UnicodeResource
9.1 --- a/examples/CGI/VerySimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 9.2 +++ b/examples/CGI/VerySimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 9.3 @@ -1,10 +1,11 @@ 9.4 #!/usr/bin/env python 9.5 9.6 -# NOTE: Path manipulation requires manual customisation. 9.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 9.8 +# on the PYTHONPATH. 9.9 9.10 -import sys 9.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 9.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 9.13 +#import sys 9.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 9.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 9.16 9.17 from WebStack.Adapters.CGI import deploy 9.18 from VerySimple import VerySimpleResource
10.1 --- a/examples/WSGI/CalendarHandler.py Fri Jun 09 22:58:48 2006 +0000 10.2 +++ b/examples/WSGI/CalendarHandler.py Fri Jun 09 22:59:09 2006 +0000 10.3 @@ -1,10 +1,11 @@ 10.4 #!/usr/bin/env python 10.5 10.6 -# NOTE: Path manipulation requires manual customisation. 10.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 10.8 +# on the PYTHONPATH. 10.9 10.10 -import sys 10.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 10.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 10.13 +#import sys 10.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 10.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 10.16 10.17 from WebStack.Adapters.WSGI import deploy 10.18 from Calendar import CalendarResource
11.1 --- a/examples/WSGI/CookiesHandler.py Fri Jun 09 22:58:48 2006 +0000 11.2 +++ b/examples/WSGI/CookiesHandler.py Fri Jun 09 22:59:09 2006 +0000 11.3 @@ -1,10 +1,11 @@ 11.4 #!/usr/bin/env python 11.5 11.6 -# NOTE: Path manipulation requires manual customisation. 11.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 11.8 +# on the PYTHONPATH. 11.9 11.10 -import sys 11.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 11.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 11.13 +#import sys 11.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 11.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 11.16 11.17 from WebStack.Adapters.WSGI import deploy 11.18 from Cookies import CookiesResource
12.1 --- a/examples/WSGI/FormHandler.py Fri Jun 09 22:58:48 2006 +0000 12.2 +++ b/examples/WSGI/FormHandler.py Fri Jun 09 22:59:09 2006 +0000 12.3 @@ -1,10 +1,11 @@ 12.4 #!/usr/bin/env python 12.5 12.6 -# NOTE: Path manipulation requires manual customisation. 12.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 12.8 +# on the PYTHONPATH. 12.9 12.10 -import sys 12.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 12.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 12.13 +#import sys 12.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 12.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 12.16 12.17 from WebStack.Adapters.WSGI import deploy 12.18 from Form import FormResource
13.1 --- a/examples/WSGI/LoginHandler.py Fri Jun 09 22:58:48 2006 +0000 13.2 +++ b/examples/WSGI/LoginHandler.py Fri Jun 09 22:59:09 2006 +0000 13.3 @@ -1,10 +1,11 @@ 13.4 #!/usr/bin/env python 13.5 13.6 -# NOTE: Path manipulation requires manual customisation. 13.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 13.8 +# on the PYTHONPATH. 13.9 13.10 -import sys 13.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 13.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 13.13 +#import sys 13.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 13.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 13.16 13.17 from WebStack.Adapters.WSGI import deploy 13.18 from WebStack.Resources.Login import LoginResource, LoginAuthenticator
14.1 --- a/examples/WSGI/SessionsHandler.py Fri Jun 09 22:58:48 2006 +0000 14.2 +++ b/examples/WSGI/SessionsHandler.py Fri Jun 09 22:59:09 2006 +0000 14.3 @@ -1,10 +1,11 @@ 14.4 #!/usr/bin/env python 14.5 14.6 -# NOTE: Path manipulation requires manual customisation. 14.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 14.8 +# on the PYTHONPATH. 14.9 14.10 -import sys 14.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 14.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 14.13 +#import sys 14.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 14.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 14.16 14.17 from WebStack.Adapters.WSGI import deploy 14.18 from Sessions import SessionsResource
15.1 --- a/examples/WSGI/SimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 15.2 +++ b/examples/WSGI/SimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 15.3 @@ -1,10 +1,11 @@ 15.4 #!/usr/bin/env python 15.5 15.6 -# NOTE: Path manipulation requires manual customisation. 15.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 15.8 +# on the PYTHONPATH. 15.9 15.10 -import sys 15.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 15.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 15.13 +#import sys 15.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 15.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 15.16 15.17 from WebStack.Adapters.WSGI import deploy 15.18 from Simple import SimpleResource
16.1 --- a/examples/WSGI/SimpleWithLoginHandler.py Fri Jun 09 22:58:48 2006 +0000 16.2 +++ b/examples/WSGI/SimpleWithLoginHandler.py Fri Jun 09 22:59:09 2006 +0000 16.3 @@ -1,10 +1,11 @@ 16.4 #!/usr/bin/env python 16.5 16.6 -# NOTE: Path manipulation requires manual customisation. 16.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 16.8 +# on the PYTHONPATH. 16.9 16.10 -import sys 16.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 16.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 16.13 +#import sys 16.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 16.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 16.16 16.17 from WebStack.Adapters.WSGI import deploy 16.18 from WebStack.Resources.LoginRedirect import LoginRedirectResource, LoginRedirectAuthenticator
17.1 --- a/examples/WSGI/UnicodeHandler.py Fri Jun 09 22:58:48 2006 +0000 17.2 +++ b/examples/WSGI/UnicodeHandler.py Fri Jun 09 22:59:09 2006 +0000 17.3 @@ -1,10 +1,11 @@ 17.4 #!/usr/bin/env python 17.5 17.6 -# NOTE: Path manipulation requires manual customisation. 17.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 17.8 +# on the PYTHONPATH. 17.9 17.10 -import sys 17.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 17.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 17.13 +#import sys 17.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 17.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 17.16 17.17 from WebStack.Adapters.WSGI import deploy 17.18 from Unicode import UnicodeResource
18.1 --- a/examples/WSGI/VerySimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 18.2 +++ b/examples/WSGI/VerySimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 18.3 @@ -1,10 +1,11 @@ 18.4 #!/usr/bin/env python 18.5 18.6 -# NOTE: Path manipulation requires manual customisation. 18.7 +# Uncomment and adjust the paths below if WebStack is not installed somewhere 18.8 +# on the PYTHONPATH. 18.9 18.10 -import sys 18.11 -sys.path.append("/home/paulb/Software/Python/WebStack") 18.12 -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 18.13 +#import sys 18.14 +#sys.path.append("/home/paulb/Software/Python/WebStack") 18.15 +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 18.16 18.17 from WebStack.Adapters.WSGI import deploy 18.18 from VerySimple import VerySimpleResource