diff options
author | Steve Lacy <slacy@slacy.com> | 2011-03-02 14:37:23 -0800 |
---|---|---|
committer | Steve Lacy <slacy@slacy.com> | 2011-03-02 14:37:23 -0800 |
commit | 21677bde455fdc08553630ee2abe4fc678351a61 (patch) | |
tree | 45c61ae63b1e15fc0d737bd92e71741077c92695 | |
parent | 29968a6fa42ea2802118df92bd829344d910b8ae (diff) | |
download | pep8-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-x | pep8.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> # |