aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJurko Gospodnetić <jurko.gospodnetic@pke.hr>2014-05-08 21:24:35 +0200
committerJurko Gospodnetić <jurko.gospodnetic@pke.hr>2014-05-08 21:24:35 +0200
commita82811aa0b9d0d74b546439ff740ce63403f1b84 (patch)
treeb00cd7ac50e81dda11ee481cf4f892b0c907e6a6
parent378b4011f66d9fdac94eaaf7b9d61c70f0a2fbb7 (diff)
downloadexternal_python_setuptools-a82811aa0b9d0d74b546439ff740ce63403f1b84.tar.gz
external_python_setuptools-a82811aa0b9d0d74b546439ff740ce63403f1b84.tar.bz2
external_python_setuptools-a82811aa0b9d0d74b546439ff740ce63403f1b84.zip
remove quick-fix comment for the solution to issue #169.
Although the original problematic use case when we are replacing a zipped egg distribution with another zipped egg distribution is now cleanly handled by fixing all existing zipimport.zipimporter loaders, this fix is still valid for cases when replacing a distribution with a non-zipped egg folder. --HG-- extra : source : efd6a8b82bafdbcfad1971b7e0f470e19191be1a
-rwxr-xr-xsetuptools/command/easy_install.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 0b282d47..0bce4ab9 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -646,13 +646,6 @@ Please make the appropriate changes for your system and try again.
def process_distribution(self, requirement, dist, deps=True, *info):
self.update_pth(dist)
self.package_index.add(dist)
- # First remove the dist from self.local_index, to avoid problems using
- # old cached data in case its underlying file has been replaced.
- #
- # This is a quick-fix for a zipimporter caching issue in case the dist
- # has been implemented as and already loaded from a zip file that got
- # replaced later on. For more detailed information see setuptools issue
- # #168 at 'http://bitbucket.org/pypa/setuptools/issue/168'.
if dist in self.local_index[dist.key]:
self.local_index.remove(dist)
self.local_index.add(dist)