New submission from Kyle Altendorf:

Since the detected user path has the text `%APPDATA%` replaced into it 
`os.path.isdir()` returns `False`.  As a result, the user site path is not 
added to the `%PATH%` variable.

The patch adds `os.path.expandvars()` to the `isdir()` check to resolve this 
issue.

----------
files: win_add2path.patch
keywords: patch
messages: 272060
nosy: altendky
priority: normal
severity: normal
status: open
title: win_add2path.py does not add user site directory
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file44028/win_add2path.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27696>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to