summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://weakish.pigro.net/ <http://weakish.pigro.net/@web>2009-12-27 07:18:30 +0000
committerJoey Hess <joey@finch.kitenet.net>2009-12-27 07:18:30 +0000
commit3bff312697c86a5580ce4bfc32f3fb77ecb7f5f5 (patch)
tree049a9955d68f00b44f6766bea3526628fbe0e232
parentffc9f25e734a8ca5397f2dfd09c1e31725624ee0 (diff)
repost bug: rst plugin has python hardcode in shebang line
-rw-r--r--doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn b/doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
new file mode 100644
index 000000000..f89c76fe8
--- /dev/null
+++ b/doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
@@ -0,0 +1,13 @@
+Current the rst plugin uses this shebang line:
+
+ #!/usr/bin/python
+
+The problem is that rst plugin uses some feature (for example, iterator comprehension) which is unavailable on old version of Python.
+
+So rst plugin will not work on a machine which has an old version of python in system path even though
+the user have installed a new version of python in other place. For example, I am using ikiwiki with the rst plugin on Mac OS X 10.4 which ships python 2.3 but I do have python2.6 installed on /opt/local/bin/python (via macports).
+
+Thus I suggest to change the shebang line to:
+
+ #!/usr/bin/env python
+