diff options
Diffstat (limited to 'setuptools/command')
| -rwxr-xr-x | setuptools/command/easy_install.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index abf2ea14..c0bc2a16 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -934,12 +934,12 @@ def get_site_dirs(): sys.version[:3], 'site-packages')) + site_lib = get_python_lib(prefix=prefix or None) + if site_lib not in sitedirs: sitedirs.append(site_lib) + sitedirs = filter(os.path.isdir, sitedirs) sitedirs = map(normalize_path, sitedirs) - return sitedirs or [normalize_path(get_python_lib())] # ensure at least one - - - + return sitedirs # ensure at least one def expand_paths(inputs): """Yield sys.path directories that might contain "old-style" packages""" |
