summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lacy <slacy@slacy.com>2011-03-02 14:37:23 -0800
committerSteve Lacy <slacy@slacy.com>2011-03-02 14:37:23 -0800
commit21677bde455fdc08553630ee2abe4fc678351a61 (patch)
tree45c61ae63b1e15fc0d737bd92e71741077c92695
parent29968a6fa42ea2802118df92bd829344d910b8ae (diff)
downloadpep8-21677bde455fdc08553630ee2abe4fc678351a61.tar.gz
Use /usr/bin/env python instead of straight /usr/bin/python
This change makes the pep8 executable function properly when running under a virtualenv or zc.buildout environment, which will have a special version of python on the path that internally changes its PYTHONPATH to include special libraries and modules.
-rwxr-xr-xpep8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pep8.py b/pep8.py
index 227a9a3..6cd8101 100755
--- a/pep8.py
+++ b/pep8.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# pep8.py - Check Python source code formatting, according to PEP 8
# Copyright (C) 2006 Johann C. Rocholl <johann@rocholl.net>
#