Change the call to python from /usr/bin/python to /usr/bin/env python so the correct python is called when using virtualenv. Remove the the call if not needed.

This commit is contained in:
TierraDelFuego
2013-01-12 23:34:35 -08:00
parent 5ff925d583
commit e363ee0994
11 changed files with 6 additions and 12 deletions
+1 -2
View File
@@ -52,5 +52,4 @@ applications/*/*.py[oc]
applications/examples/static/epydoc
applications/examples/static/sphinx
applications/admin/cron/cron.master
./HOWTO-web2py-devel
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This is an app-specific example router
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python
#
# Copyright 2007 Google Inc.
#
-1
View File
@@ -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
+1 -1
View File
@@ -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 <mdipierro@cs.depaul.edu>
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
autoroutes writes routes for you based on a simpler routing
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''