<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#330000">
<span id="IDstID"><font face="Calibri">I didn't even use TM_PYTHON,
just changed<br>
<b>TextMate::Executor.run(ENV["TM_PYTHON"] || "python"</b> to <b>TextMate::Executor.run(ENV["TM_PYTHON"]
|| "python2.7"</b><br>
<br>
</font>On Mon, 14 Feb 2011 14:54:21 -0500, Walter Lee Davis wrote:</span>
<blockquote
cite="mid:C121D19B-AA24-4365-82D3-77BFA431233C@wdstudio.com"
type="cite">I believe TextMate doesn't follow the shebang for
Command-R, only whatever you've set in TM_[LANGUAGE].
<br>
<br>
Walter
<br>
<br>
On Feb 14, 2011, at 2:43 PM, Mark Jackson wrote:
<br>
<br>
<blockquote type="cite">Can't you do that in the file?
<br>
<br>
e.g. #!/usr/bin/python2.6.1 #or whatever the version you want
<br>
<br>
Does python have a USE keyword (as in Perl) to change settings?
<br>
<br>
I don't code in Python, so I am guessing.
<br>
<br>
<br>
On Feb 14, 2011, at 11:19 AM, Rob McBroom wrote:
<br>
<br>
<blockquote type="cite">On Feb 14, 2011, at 1:52 PM, Kaster
Might wrote:
<br>
<br>
<blockquote type="cite">I have 3 installed versions of python
on my Mac. How to tell TextMate to launch specified one on
Command-R?
<br>
</blockquote>
<br>
Set a variable named TM_PYTHON and point it to the binary of
your choice (such as /usr/bin/python). This can be set
globally in TextMate’s advanced preferences, or it can be set
just for one project (using the info button in the project
drawer).
<br>
<br>
-- <br>
Rob McBroom
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.skurfer.com/"><http://www.skurfer.com/></a>
<br>
<br>
<br>
_______________________________________________
<br>
textmate mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
textmate mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
textmate mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Kaster Might</pre>
</body>
</html>