Eventually I managed to have the personal shell launcher! The trick was to investigate the o4w_env.bat
file in order to understand what the "call" at the second line actually does.
So I tried and succeeded with this:
Copy the
idle.pyw
(or the IDE you'd like to use to theQuantum GIS
main folder (in my case it wasC:/Quantum_GIS_Lisboa
)Copy the SHELL LAUNCHER (see point 3) with extension
.bat
in "\bin"Run this SHELL LAUNCHER (simple double click):
@echo off SET OSGEO4W_ROOT=C:\QUANTU~1 call "%OSGEO4W_ROOT%"\bin\o4w_env.bat @echo off SET GDAL_DRIVER_PATH=%IDLE%\bin\gdalplugins\1.9 path %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin path %PATH%;%OSGEO4W_ROOT%\apps\grass\grass-6.4.2\lib path %PATH%;"%OSGEO4W_ROOT%\apps\Python27\Scripts\" set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%\apps\qgis\python; set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%\apps\Python27\Lib\site-packages set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%\apps\qgis start "Quantum GIS Shell" /B "idle.pyw" %* # This is where you specify the IDE # you want to use, mine is "idle.pyw", but if You copy another one (as in point 1), # you should replace "idle.pyw" with "<YOUR_IDE>"
Hope this could help anybody. Cheers!