Issue6378
Created on 2009-06-29 20:45 by srid, last changed 2009-06-29 21:36 by trentm.
|
msg89875 - (view) |
Author: Sridhar Ratnakumar (srid) |
Date: 2009-06-29 20:45 |
|
On Mon, 29 Jun 2009 09:56:53 -0700, Trent Mick <trentm@activestate.com>
wrote:
> Sridhar Ratnakumar wrote:
>> I installed ActivePython-3.1 to C:\Python31 but disabled the
installer
>> option "Register as default Python" .. because, I use Python-2.6 by
>> default.
>>
>> However, this disabling broke 3.1's IDLE. Clicking on 'idle.bat' or
>> 'idle.py' or 'idle.pyw' in C:\Python31\Lib\idle\ directory opens
Python
>> 2.6's IDLE.
>>
>> Since the installer knows the path to Python - C:
\Python31\python.exe -
>> does it make sense to patch the idle.bat file to use this binary?
>
> IIRC there is a special NT batch file syntax that you can use do that
> idle.bat will look for python.exe in a relative path, so that you
won't
> have to patch idle.bat after install (which would be a pain).
>
> Here, use this for idle.bat:
>
> @echo off
> set CURRDIR=%~dp0
> start %CURRDIR%..\..\pythonw.exe idle.pyw
>
> Perhaps you could add a bug to core Python to change idle.bat to be
that?
>
>
> Trent
>
|
|
| Date |
User |
Action |
Args |
| 2009-06-29 21:36:54 | trentm | set | nosy:
+ trentm
|
| 2009-06-29 20:45:21 | srid | create | |
|