summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-11 22:33:25 +0000
committerBenjamin Peterson <benjamin@python.org>2010-03-11 22:33:25 +0000
commit2e3bbc5d9cfff2f48a25930e6148628728667a88 (patch)
tree7bde12170ae4ecd4e59ec64086e9a30339b17da6
parent20fde0846bcc27f4615d8ecd9b59aebb10d8512c (diff)
downloadcpython-2e3bbc5d9cfff2f48a25930e6148628728667a88.tar.gz
normalize shebang lines to #!/usr/bin/env python
-rwxr-xr-xDemo/cgi/cgi1.py2
-rwxr-xr-xDemo/cgi/cgi2.py2
-rwxr-xr-xDemo/cgi/cgi3.py2
-rw-r--r--Demo/turtle/tdemo_I_dontlike_tiltdemo.py2
-rw-r--r--Demo/turtle/tdemo_bytedesign.py2
-rw-r--r--Demo/turtle/tdemo_clock.py2
-rw-r--r--Demo/turtle/tdemo_fractalcurves.py2
-rw-r--r--Demo/turtle/tdemo_lindenmayer_indian.py2
-rw-r--r--Demo/turtle/tdemo_minimal_hanoi.py2
-rw-r--r--Demo/turtle/tdemo_paint.py2
-rw-r--r--Demo/turtle/tdemo_peace.py2
-rw-r--r--Demo/turtle/tdemo_penrose.py2
-rw-r--r--Demo/turtle/tdemo_planet_and_moon.py2
-rw-r--r--Demo/turtle/tdemo_tree.py2
-rw-r--r--Demo/turtle/tdemo_yinyang.py2
-rw-r--r--Demo/turtle/turtleDemo.py2
-rw-r--r--Demo/turtle/turtledemo_two_canvases.py2
-rw-r--r--Doc/includes/email-alternative.py2
-rw-r--r--Lib/test/test_bz2.py2
-rw-r--r--Lib/test/test_optparse.py2
-rwxr-xr-xMac/BuildScript/build-installer.py2
-rw-r--r--Mac/Tools/fixapplepython23.py2
-rw-r--r--Mac/scripts/zappycfiles.py2
-rwxr-xr-xTools/faqwiz/faqw.py2
-rw-r--r--Tools/pybench/Setup.py2
-rwxr-xr-xTools/scripts/parseentities.py2
26 files changed, 26 insertions, 26 deletions
diff --git a/Demo/cgi/cgi1.py b/Demo/cgi/cgi1.py
index 9d25c7db12..c6f3efab3e 100755
--- a/Demo/cgi/cgi1.py
+++ b/Demo/cgi/cgi1.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""CGI test 1 - check server setup."""
diff --git a/Demo/cgi/cgi2.py b/Demo/cgi/cgi2.py
index d956f6538c..8026c552b2 100755
--- a/Demo/cgi/cgi2.py
+++ b/Demo/cgi/cgi2.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""CGI test 2 - basic use of cgi module."""
diff --git a/Demo/cgi/cgi3.py b/Demo/cgi/cgi3.py
index a3421b5b2d..6693a86c4e 100755
--- a/Demo/cgi/cgi3.py
+++ b/Demo/cgi/cgi3.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""CGI test 3 (persistent data)."""
diff --git a/Demo/turtle/tdemo_I_dontlike_tiltdemo.py b/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
index adec52b06f..c9e6e652e2 100644
--- a/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
+++ b/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo-I_dont_like_tiltdemo.py
diff --git a/Demo/turtle/tdemo_bytedesign.py b/Demo/turtle/tdemo_bytedesign.py
index 6f53e9f238..bed671d7ef 100644
--- a/Demo/turtle/tdemo_bytedesign.py
+++ b/Demo/turtle/tdemo_bytedesign.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_bytedesign.py
diff --git a/Demo/turtle/tdemo_clock.py b/Demo/turtle/tdemo_clock.py
index 11c37f0a11..b6280bb90c 100644
--- a/Demo/turtle/tdemo_clock.py
+++ b/Demo/turtle/tdemo_clock.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: cp1252 -*-
""" turtle-example-suite:
diff --git a/Demo/turtle/tdemo_fractalcurves.py b/Demo/turtle/tdemo_fractalcurves.py
index f34c5fc080..2ac8ecd8ec 100644
--- a/Demo/turtle/tdemo_fractalcurves.py
+++ b/Demo/turtle/tdemo_fractalcurves.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_fractalCurves.py
diff --git a/Demo/turtle/tdemo_lindenmayer_indian.py b/Demo/turtle/tdemo_lindenmayer_indian.py
index 4f2071674a..92c8cff1b8 100644
--- a/Demo/turtle/tdemo_lindenmayer_indian.py
+++ b/Demo/turtle/tdemo_lindenmayer_indian.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
xtx_lindenmayer_indian.py
diff --git a/Demo/turtle/tdemo_minimal_hanoi.py b/Demo/turtle/tdemo_minimal_hanoi.py
index 4e2ad48a7a..8a1caa85ea 100644
--- a/Demo/turtle/tdemo_minimal_hanoi.py
+++ b/Demo/turtle/tdemo_minimal_hanoi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_minimal_hanoi.py
diff --git a/Demo/turtle/tdemo_paint.py b/Demo/turtle/tdemo_paint.py
index 65741da7aa..e1d63030f6 100644
--- a/Demo/turtle/tdemo_paint.py
+++ b/Demo/turtle/tdemo_paint.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_paint.py
diff --git a/Demo/turtle/tdemo_peace.py b/Demo/turtle/tdemo_peace.py
index ea57069028..13044c986d 100644
--- a/Demo/turtle/tdemo_peace.py
+++ b/Demo/turtle/tdemo_peace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_peace.py
diff --git a/Demo/turtle/tdemo_penrose.py b/Demo/turtle/tdemo_penrose.py
index 4d8a61ee88..f5824d7fba 100644
--- a/Demo/turtle/tdemo_penrose.py
+++ b/Demo/turtle/tdemo_penrose.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" xturtle-example-suite:
xtx_kites_and_darts.py
diff --git a/Demo/turtle/tdemo_planet_and_moon.py b/Demo/turtle/tdemo_planet_and_moon.py
index e3c87a0a9f..223d87b4cd 100644
--- a/Demo/turtle/tdemo_planet_and_moon.py
+++ b/Demo/turtle/tdemo_planet_and_moon.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_planets_and_moon.py
diff --git a/Demo/turtle/tdemo_tree.py b/Demo/turtle/tdemo_tree.py
index 3c7178cdef..6fc87359af 100644
--- a/Demo/turtle/tdemo_tree.py
+++ b/Demo/turtle/tdemo_tree.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_tree.py
diff --git a/Demo/turtle/tdemo_yinyang.py b/Demo/turtle/tdemo_yinyang.py
index 47b8b2f342..04dd75870a 100644
--- a/Demo/turtle/tdemo_yinyang.py
+++ b/Demo/turtle/tdemo_yinyang.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
""" turtle-example-suite:
tdemo_yinyang.py
diff --git a/Demo/turtle/turtleDemo.py b/Demo/turtle/turtleDemo.py
index 38a44e0ea1..3030d91075 100644
--- a/Demo/turtle/turtleDemo.py
+++ b/Demo/turtle/turtleDemo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import sys
import os
diff --git a/Demo/turtle/turtledemo_two_canvases.py b/Demo/turtle/turtledemo_two_canvases.py
index 5cde0efd88..5a9831d282 100644
--- a/Demo/turtle/turtledemo_two_canvases.py
+++ b/Demo/turtle/turtledemo_two_canvases.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER!
"""turtle example: Using TurtleScreen and RawTurtle
for drawing on two distinct canvases.
diff --git a/Doc/includes/email-alternative.py b/Doc/includes/email-alternative.py
index 82e3ffa3b3..82d605e00e 100644
--- a/Doc/includes/email-alternative.py
+++ b/Doc/includes/email-alternative.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import smtplib
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
index f68586dee2..cbe47fd7b0 100644
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from test import test_support
from test.test_support import TESTFN, import_module
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py
index 773381300a..7275d89da6 100644
--- a/Lib/test/test_optparse.py
+++ b/Lib/test/test_optparse.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Test suite for Optik. Supplied by Johannes Gijsbers
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index dbb968e4e7..14a3a8e2c8 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""
This script is used to build the "official unofficial" universal build on
Mac OS X. It requires Mac OS X 10.4, Xcode 2.2 and the 10.4u SDK to do its
diff --git a/Mac/Tools/fixapplepython23.py b/Mac/Tools/fixapplepython23.py
index 6ba54019f0..03c799b567 100644
--- a/Mac/Tools/fixapplepython23.py
+++ b/Mac/Tools/fixapplepython23.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""fixapplepython23 - Fix Apple-installed Python 2.3 (on Mac OS X 10.3)
Python 2.3 (and 2.3.X for X<5) have the problem that building an extension
diff --git a/Mac/scripts/zappycfiles.py b/Mac/scripts/zappycfiles.py
index a8193c1206..d829159dac 100644
--- a/Mac/scripts/zappycfiles.py
+++ b/Mac/scripts/zappycfiles.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""Recursively zap all .pyc and .pyo files"""
import os
import sys
diff --git a/Tools/faqwiz/faqw.py b/Tools/faqwiz/faqw.py
index c6c1a6d616..fea98ecbdd 100755
--- a/Tools/faqwiz/faqw.py
+++ b/Tools/faqwiz/faqw.py
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#!/usr/bin/env python
"""FAQ wizard bootstrap."""
diff --git a/Tools/pybench/Setup.py b/Tools/pybench/Setup.py
index 21e654afba..309f3db59e 100644
--- a/Tools/pybench/Setup.py
+++ b/Tools/pybench/Setup.py
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
# Setup file for pybench
#
diff --git a/Tools/scripts/parseentities.py b/Tools/scripts/parseentities.py
index cf4e17c1fc..4a44fb46a9 100755
--- a/Tools/scripts/parseentities.py
+++ b/Tools/scripts/parseentities.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
""" Utility for parsing HTML entity definitions available from:
http://www.w3.org/ as e.g.