# HG changeset patch # User paulb # Date 1149893949 0 # Node ID 7de67cf9581a794946bb0cc78430571a767d9cf4 # Parent 4390d40b4195fbb82b65b700a2888d664e02be8e [project @ 2006-06-09 22:59:07 by paulb] Removed the sys.path manipulation. diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/CalendarHandler.py --- a/examples/CGI/CalendarHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/CalendarHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from Calendar import CalendarResource diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/CookiesHandler.py --- a/examples/CGI/CookiesHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/CookiesHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from Cookies import CookiesResource diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/FormHandler.py --- a/examples/CGI/FormHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/FormHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from Form import FormResource diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/LoginHandler.py --- a/examples/CGI/LoginHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/LoginHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from WebStack.Resources.Login import LoginResource, LoginAuthenticator diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/SessionsHandler.py --- a/examples/CGI/SessionsHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/SessionsHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from Sessions import SessionsResource diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/SimpleHandler.py --- a/examples/CGI/SimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/SimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from Simple import SimpleResource diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/SimpleWithLoginHandler.py --- a/examples/CGI/SimpleWithLoginHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/SimpleWithLoginHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from WebStack.Resources.LoginRedirect import LoginRedirectResource, LoginRedirectAuthenticator diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/UnicodeHandler.py --- a/examples/CGI/UnicodeHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/UnicodeHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from Unicode import UnicodeResource diff -r 4390d40b4195 -r 7de67cf9581a examples/CGI/VerySimpleHandler.py --- a/examples/CGI/VerySimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/CGI/VerySimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.CGI import deploy from VerySimple import VerySimpleResource diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/CalendarHandler.py --- a/examples/WSGI/CalendarHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/CalendarHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from Calendar import CalendarResource diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/CookiesHandler.py --- a/examples/WSGI/CookiesHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/CookiesHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from Cookies import CookiesResource diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/FormHandler.py --- a/examples/WSGI/FormHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/FormHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from Form import FormResource diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/LoginHandler.py --- a/examples/WSGI/LoginHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/LoginHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from WebStack.Resources.Login import LoginResource, LoginAuthenticator diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/SessionsHandler.py --- a/examples/WSGI/SessionsHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/SessionsHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from Sessions import SessionsResource diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/SimpleHandler.py --- a/examples/WSGI/SimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/SimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from Simple import SimpleResource diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/SimpleWithLoginHandler.py --- a/examples/WSGI/SimpleWithLoginHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/SimpleWithLoginHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from WebStack.Resources.LoginRedirect import LoginRedirectResource, LoginRedirectAuthenticator diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/UnicodeHandler.py --- a/examples/WSGI/UnicodeHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/UnicodeHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from Unicode import UnicodeResource diff -r 4390d40b4195 -r 7de67cf9581a examples/WSGI/VerySimpleHandler.py --- a/examples/WSGI/VerySimpleHandler.py Fri Jun 09 22:58:48 2006 +0000 +++ b/examples/WSGI/VerySimpleHandler.py Fri Jun 09 22:59:09 2006 +0000 @@ -1,10 +1,11 @@ #!/usr/bin/env python -# NOTE: Path manipulation requires manual customisation. +# Uncomment and adjust the paths below if WebStack is not installed somewhere +# on the PYTHONPATH. -import sys -sys.path.append("/home/paulb/Software/Python/WebStack") -sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") +#import sys +#sys.path.append("/home/paulb/Software/Python/WebStack") +#sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") from WebStack.Adapters.WSGI import deploy from VerySimple import VerySimpleResource