windows config file location #82

Closed
vbabiy opened this Issue Mar 15, 2011 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

vbabiy commented Mar 15, 2011

The documentation says the config file for Windows is %HOME%\pip\pip.ini, but pip actually looks for %APPDATA%\pip\pip.ini. It only uses %HOME% if %APPDATA% isn't set.


Contributor

vbabiy commented Mar 15, 2011

On Windows pip should look for its config file in the 'pip' subdirectory of
the user's Home directory (as returned by os.path.expanduser('~')). The
%APPDATA% directory is hidden by default, so it seems it's not intended for
users to modify it directly.

The fix is just a matter of removing one line from locations.py. I'm attaching
a diff.


Original Comment By: davis

@apatrushev apatrushev referenced this issue Nov 7, 2011

Merged

#82 fix #383

hobbsd commented Apr 24, 2012

+1 for this simple fix

@pnasrat pnasrat closed this in 4b934a1 May 13, 2012

pnasrat added a commit that referenced this issue May 13, 2012

Merge pull request #383 from apatrushev/develop
Correct windows config location to match docs fixes Issue #82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment