[Osgeo4w-trac] Re: [osgeo4w] #114: optional package to register
python in Windows registry
OSGeo4W
trac_osgeo4w at osgeo.org
Mon Mar 19 02:05:13 EDT 2012
#114: optional package to register python in Windows registry
------------------------+---------------------------------------------------
Reporter: maphew | Owner: maphew
Type: enhancement | Status: assigned
Priority: major | Component: Installer
Version: | Keywords: python
------------------------+---------------------------------------------------
Comment(by maphew):
The dual registration causes problems with !PyScripter. This is because
!PyScripter expects the All Users python27.dll to be in
`%windir%\system32` and refuses to look elsewhere unless told to with a
commandline parameter.
* http://pyscripter.blogspot.ca/2010/10/where-on-earth-is-
pythonxxdll.html
*
http://code.google.com/p/pyscripter/wiki/FAQ#How_do_I_use_PyScripter_with_Portable_%28Movable%29_Python?
Workarounds:
* copy the python27.dll to `%windir%\system32`, or
* use `pyscripter --python27 --pythondllpath o:\apps\Python27`
Solution:
* change register-python so that it installs to Current User by default;
that's more in keeping with Osgeo4w philosophy anyway.
* look into filing a bug with python.org as I don't think the dual
registration is an intended outcome
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/114#comment:15>
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