[osgeo4w-dev] Re: [osgeo4w] #162: pythonwin launcher

OSGeo4W trac_osgeo4w at osgeo.org
Sat Feb 4 19:38:37 EST 2012


#162: pythonwin launcher
--------------------------+-------------------------------------------------
Reporter:  wildintellect  |       Owner:  osgeo4w-dev@…              
    Type:  enhancement    |      Status:  new                        
Priority:  major          |   Component:  Package                    
 Version:  1.0            |    Keywords:  python pythonwin           
--------------------------+-------------------------------------------------

Comment(by maphew):

 For the short term, I would install the [wiki:pkg-shell] which ensures a
 shell with all the correct environment variables set (meaning if, for
 example, qgis changes it's python plugin path your bat file will
 automatically be up to date). And then call pythonwin after running
 Osgeo4W.bat with:

 `start "PythonWin" /B "%pythonhome%\lib\site-
 packages\pythonwin\Pythonwin.exe" %*`

 More properly we should re-package [wiki:pkg-python-win32] with
 pythonwin.exe in .\bin and desktop shortcut.

 ((I wonder if we should also change the end of osgeo4w.bat to `@cmd /c %*`
 to allow things like `call osgeo4w.bat pythonwin`?))

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/162#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list