[issue6556] "HOME" is not a standard environment variable on Windows

2009-08-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: Fixed, thanks for the feedback all ! -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue6556] "HOME" is not a standard environment variable on Windows

2009-08-14 Thread Tarek Ziadé
Tarek Ziadé added the comment: The code works as expected because it uses os.path.expanduser('~'), which will look to the right values depending on the platform. So it's just the documentation that is wrong about how distutils behaves under Windows. I'll fix this doc asap, thanks for the feedb

[issue6556] "HOME" is not a standard environment variable on Windows

2009-08-14 Thread Gabriel Genellina
Gabriel Genellina added the comment: %HOME% isn't set by Windows. %HOMEDRIVE%%HOMEPATH% points to the user's home directory. %USERPROFILE% is where the user's profile is stored, and may or may not be the same as his home directory. %HOMEDRIVE%%HOMEPATH% should be used then, defaulting to %USER

[issue6556] "HOME" is not a standard environment variable on Windows

2009-08-10 Thread Ezio Melotti
Ezio Melotti added the comment: I tried to echo both %HOME% and %USERPROFILE% on a few windows systems (XP, 2k3 Server and Vista) and only the latter worked. %HOME% is not set in any of these systems. -- nosy: +ezio.melotti priority: -> normal ___ P

[issue6556] "HOME" is not a standard environment variable on Windows

2009-07-23 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx : The distutils looks in an environment variable named "HOME" on Windows: http://docs.python.org/install/#location-and-names-of-config-files Windows does not by default create such a variable, so only if a user has manually configured one will it work. T