[Osgeo4w-trac] Re: [osgeo4w] #114: optional package to register
python in Windows registry
OSGeo4W
trac_osgeo4w at osgeo.org
Mon Nov 28 13:36:47 EST 2011
#114: optional package to register python in Windows registry
------------------------+---------------------------------------------------
Reporter: maphew | Owner: maphew
Type: enhancement | Status: assigned
Priority: major | Component: Installer
Version: | Keywords: python
------------------------+---------------------------------------------------
Old description:
> It can be helpful sometimes to register the gdal version of python with
> Windows. This way a) .py files can be run from outside the o4w shell, and
> b) 3rd party python programs which aren't part of the o4w package system
> can be installed using traditional python installers and eggs.
>
> Here is a how to for (de)registering a given python install:
> http://effbot.org/zone/python-register.htm
>
> As there can only be a single major version registered at a time, e.g.
> only one python 2.5, we would need to add logic to skip if one is already
> there.
New description:
It can be helpful sometimes to register the gdal version of python with
Windows. This way a) .py files can be run from outside the o4w shell, and
b) 3rd party python programs which aren't part of the o4w package system
can be installed using traditional python installers and eggs.
working prototype: http://code.google.com/p/maphew/source/browse/register-
python/register-python.py
Adapted from how to for (de)registering a given python install:
http://effbot.org/zone/python-register.htm
There can only be a single major version registered at a time, e.g. only
one python 2.5
--
Comment(by maphew):
revised url: http://code.google.com/p/maphew/source/browse/register-python
/register-python.py (sorry for the jumping about! When reorganizing for my
personal efficiency I forgot there are links to it.)
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/114#comment:9>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list