Staging
v0.5.1
https://github.com/python/cpython
Revision f9bfdd850cd00e00c0895b3f73afd019b7a9dfdb authored by Mark Hammond on 02 July 2004, 23:53:16 UTC, committed by Mark Hammond on 02 July 2004, 23:53:16 UTC
to address bugs:
[ 555812 ] installing extension w/o admin rights
[ 555810 ] removing extensions without admin rights

* When enumerating the Python versions found, also remember the HKEY
  they were found under.
* When installing, if Python was installed under HKCU, we will too.
  If Python was installed under HKLM, we check the permissions of
  the current user, and install where we can.
* The "root" key we use is a global variable - all registry setting and
  delete functions use this global rather than a hardcoded HKLM.
* A new entry is written to the install log, indicating the key we used.
  Uninstallation is based on this key.
* 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp
  file on the root of the current drive, and if this is readonly would
  explain the 'freopen' errors occasionally reported. 'tempnam'
  creates the temp file in the %TEMP% directory.
1 parent 59ad456
History
Tip revision: f9bfdd850cd00e00c0895b3f73afd019b7a9dfdb authored by Mark Hammond on 02 July 2004, 23:53:16 UTC
Patch [ 983775 ] Allow bdist_wininst to install for non-admin users
Tip revision: f9bfdd8
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.2 KB
LICENSE -rw-r--r-- 12.9 KB
Makefile.pre.in -rw-r--r-- 31.6 KB
README -rw-r--r-- 48.3 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 565.2 KB
configure.in -rw-r--r-- 83.6 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.2 KB
setup.py -rw-r--r-- 52.0 KB

README

back to top