<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,14 +5,10 @@
 	&lt;key&gt;beforeRunningCommand&lt;/key&gt;
 	&lt;string&gt;nop&lt;/string&gt;
 	&lt;key&gt;command&lt;/key&gt;
-	&lt;string&gt;#!/usr/bin/env python
-
-#Pysmell version 0.7
-
-from pysmell import textmate
-textmate.main()
-
-
+    &lt;string&gt;
+TPY=${TM_PYTHON:-python}
+&quot;$TPY&quot; -c &quot;from pysmell import textmate; textmate.main()&quot;
+        
     &lt;/string&gt;
 	&lt;key&gt;input&lt;/key&gt;
 	&lt;string&gt;document&lt;/string&gt;</diff>
      <filename>PySmell.tmbundle/Commands/Complete.tmCommand</filename>
    </modified>
    <modified>
      <diff>@@ -5,13 +5,10 @@
 	&lt;key&gt;beforeRunningCommand&lt;/key&gt;
 	&lt;string&gt;saveModifiedFiles&lt;/string&gt;
 	&lt;key&gt;command&lt;/key&gt;
-	&lt;string&gt;#!/usr/bin/env python
+    &lt;string&gt;
+TPY=${TM_PYTHON:-python}
+&quot;$TPY&quot; -c &quot;from pysmell import textmate; import os; textmate.tags(os.environ.get('TM_PROJECT_DIRECTORY') or os.environ.get('TM_DIRECTORY'))&quot;
 
-import os
-projectDir = os.environ.get('TM_PROJECT_DIRECTORY') or os.environ.get('TM_DIRECTORY')
-
-from pysmell import textmate
-textmate.tags(projectDir)
 
 &lt;/string&gt;
 	&lt;key&gt;input&lt;/key&gt;</diff>
      <filename>PySmell.tmbundle/Commands/Tags.tmCommand</filename>
    </modified>
    <modified>
      <diff>@@ -100,9 +100,8 @@ Complete with alt-esc - look into the bundle for more commands.
 You can find the bundle in the source distribution - it's not installed
 with the egg, because it's too much trouble. 
 
-One usual problem you might face is when you install PySmell on a different Python
-than your editor uses. Setting the PATH in TextMate's preferences to what is
-your normal $PATH resolves this.
+Set TM_PYTHON in your Shell Variables to point to the Python where you
+installed PySmell.
 
 ##Emacs
 </diff>
      <filename>README.markdown</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>de300b06d1e664f475581dbf0de783aa9f5510bf</id>
    </parent>
  </parents>
  <author>
    <name>Orestis Markou</name>
    <email>orestis@orestis.gr</email>
  </author>
  <url>http://github.com/orestis/pysmell/commit/0c43e99ac909d950f182fcd9a812bcee9107a42c</url>
  <id>0c43e99ac909d950f182fcd9a812bcee9107a42c</id>
  <committed-date>2008-11-16T14:57:49-08:00</committed-date>
  <authored-date>2008-11-16T14:57:49-08:00</authored-date>
  <message>TextMate bundle now picks up TM_PYTHON if is set</message>
  <tree>53f2a9a7954c052191a5b4db79b144035c22bba1</tree>
  <committer>
    <name>Orestis Markou</name>
    <email>orestis@orestis.gr</email>
  </committer>
</commit>
