[TxMt] Re: Change python interpreter path

Walter Lee Davis waltd at wdstudio.com
Mon Feb 14 19:54:21 UTC 2011


I believe TextMate doesn't follow the shebang for Command-R, only  
whatever you've set in TM_[LANGUAGE].

Walter

On Feb 14, 2011, at 2:43 PM, Mark Jackson wrote:

> Can't you do that in the file?
>
> e.g. #!/usr/bin/python2.6.1  #or whatever the version you want
>
> Does python have a USE keyword (as in Perl) to change settings?
>
> I don't code in Python, so I am guessing.
>
>
> On Feb 14, 2011, at 11:19 AM, Rob McBroom wrote:
>
>> On Feb 14, 2011, at 1:52 PM, Kaster Might wrote:
>>
>>> I have 3 installed versions of python on my Mac. How to tell  
>>> TextMate to launch specified one on Command-R?
>>
>> 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).
>>
>> -- 
>> Rob McBroom
>> <http://www.skurfer.com/>
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list