summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-06-09 10:33:50 +0200
committerhut <hut@lavabit.com>2010-06-09 10:33:50 +0200
commit8129ccb6d1e10182d60a71483da2c3db08108adb (patch)
tree50f8aad3316ccf871976b0f4e3fa49e3831046f1
parent1881922fba437a3f2ba8f1392ba27b78c382e82f (diff)
downloadranger-8129ccb6d1e10182d60a71483da2c3db08108adb.tar.gz
Changed hashbang line to "#!/usr/bin/env python"
-rw-r--r--INSTALL2
-rwxr-xr-xdoc/print_colors.py2
-rw-r--r--doc/print_keys.py2
-rwxr-xr-xranger.py2
-rw-r--r--ranger/__main__.py2
-rwxr-xr-xtest/all_benchmarks.py2
-rwxr-xr-xtest/all_tests.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/INSTALL b/INSTALL
index 5fc5ca6b..9939c11b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -21,7 +21,7 @@ though you might want to read the Makefile first)
 
 0. Make sure you have a recent version of python, including the
    curses module, which is the case if this shell command prints no errors:
-   python -c 'import curses'
+   python -c 'import curses, sys; assert sys.version >= "2.6"'
 
 
 1. Copy the file "ranger.py" into any of the directories in the PATH
diff --git a/doc/print_colors.py b/doc/print_colors.py
index 7ffd6500..c3508fa6 100755
--- a/doc/print_colors.py
+++ b/doc/print_colors.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 """
 You can use this tool to display all supported colors and their color number.
 It will exit after a keypress.
diff --git a/doc/print_keys.py b/doc/print_keys.py
index 0790acab..f87a2a40 100644
--- a/doc/print_keys.py
+++ b/doc/print_keys.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 """
 You can use this tool to find out values of keypresses
 """
diff --git a/ranger.py b/ranger.py
index aca1b557..a3f2095b 100755
--- a/ranger.py
+++ b/ranger.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/env python -O
 # coding=utf-8
 #
 # Ranger: Explore your forest of files from inside your terminal
diff --git a/ranger/__main__.py b/ranger/__main__.py
index 0c38b6e1..2164c045 100644
--- a/ranger/__main__.py
+++ b/ranger/__main__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # coding=utf-8
 #
 # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
diff --git a/test/all_benchmarks.py b/test/all_benchmarks.py
index 73316658..84d6817d 100755
--- a/test/all_benchmarks.py
+++ b/test/all_benchmarks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
 #
 # This program is free software: you can redistribute it and/or modify
diff --git a/test/all_tests.py b/test/all_tests.py
index dff49b60..04321462 100755
--- a/test/all_tests.py
+++ b/test/all_tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
 #
 # This program is free software: you can redistribute it and/or modify