diff --git a/pip/util.py b/pip/util.py index d2dae97a81c..3eb34ab1d65 100644 --- a/pip/util.py +++ b/pip/util.py @@ -457,6 +457,7 @@ def cache_download(target_file, temp_location, content_type): def unpack_file(filename, location, content_type, link): + filename = os.path.realpath(filename) if (content_type == 'application/zip' or filename.endswith('.zip') or filename.endswith('.pybundle')