diff --git a/.gitignore b/.gitignore index 39a6f517..6525ee59 100644 --- a/.gitignore +++ b/.gitignore @@ -52,5 +52,4 @@ applications/*/*.py[oc] applications/examples/static/epydoc applications/examples/static/sphinx applications/admin/cron/cron.master - - +HOWTO-web2py-devel diff --git a/applications/welcome/routes.example.py b/applications/welcome/routes.example.py index 5194cb8e..1f3b78cf 100644 --- a/applications/welcome/routes.example.py +++ b/applications/welcome/routes.example.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # This is an app-specific example router diff --git a/gluon/contrib/pysimplesoap/client.py b/gluon/contrib/pysimplesoap/client.py index 4b05d3a8..75bca191 100755 --- a/gluon/contrib/pysimplesoap/client.py +++ b/gluon/contrib/pysimplesoap/client.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: latin-1 -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by the diff --git a/gluon/contrib/pysimplesoap/server.py b/gluon/contrib/pysimplesoap/server.py index 12c618c4..3888b49c 100755 --- a/gluon/contrib/pysimplesoap/server.py +++ b/gluon/contrib/pysimplesoap/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: latin-1 -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by the diff --git a/gluon/contrib/pysimplesoap/simplexml.py b/gluon/contrib/pysimplesoap/simplexml.py index 6b0cea5f..2a57c902 100755 --- a/gluon/contrib/pysimplesoap/simplexml.py +++ b/gluon/contrib/pysimplesoap/simplexml.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: latin-1 -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by the diff --git a/gluon/contrib/pysimplesoap/transport.py b/gluon/contrib/pysimplesoap/transport.py index a1491334..5441e342 100644 --- a/gluon/contrib/pysimplesoap/transport.py +++ b/gluon/contrib/pysimplesoap/transport.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: latin-1 -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by the diff --git a/gluon/contrib/shell.py b/gluon/contrib/shell.py index d6dedf50..e875a57a 100755 --- a/gluon/contrib/shell.py +++ b/gluon/contrib/shell.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # Copyright 2007 Google Inc. # diff --git a/gluon/contrib/simplejsonrpc.py b/gluon/contrib/simplejsonrpc.py index 5143cea7..afdaec7d 100644 --- a/gluon/contrib/simplejsonrpc.py +++ b/gluon/contrib/simplejsonrpc.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by the diff --git a/gluon/contrib/websocket_messaging.py b/gluon/contrib/websocket_messaging.py index dae2feb3..dcd4a35e 100644 --- a/gluon/contrib/websocket_messaging.py +++ b/gluon/contrib/websocket_messaging.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python """ This file is part of the web2py Web Framework Copyrighted by Massimo Di Pierro diff --git a/options_std.py b/options_std.py index c531e7f3..8e0d3d6e 100644 --- a/options_std.py +++ b/options_std.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # when web2py is run as a windows service (web2py.py -W) diff --git a/router.example.py b/router.example.py index 75e3af9e..714a5a0a 100644 --- a/router.example.py +++ b/router.example.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # routers are dictionaries of URL routing parameters. diff --git a/routes.example.py b/routes.example.py index fdcfebc6..06ac5db2 100644 --- a/routes.example.py +++ b/routes.example.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # default_application, default_controller, default_function diff --git a/scripts/autoroutes.py b/scripts/autoroutes.py index aaef82dd..cc68b490 100644 --- a/scripts/autoroutes.py +++ b/scripts/autoroutes.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- ''' autoroutes writes routes for you based on a simpler routing diff --git a/scripts/extract_sqlite_models.py b/scripts/extract_sqlite_models.py index 3f7ad2a1..b9638ede 100644 --- a/scripts/extract_sqlite_models.py +++ b/scripts/extract_sqlite_models.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- '''