diff options
| -rw-r--r-- | CHANGES.txt | 7 | ||||
| -rw-r--r-- | pkg_resources/__init__.py | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index bd05b8bd..60d43fb2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -3,6 +3,13 @@ CHANGES ======= ---- +18.6 +---- + +* Issue #462: Provide a more refined detection of unpacked egg + directories, avoiding detecting zc.recipe.egg wheel as an egg. + +---- 18.5 ---- diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index 0c024f1b..8841ee63 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -2288,6 +2288,7 @@ def _is_unpacked_egg(path): """ return ( path.lower().endswith('.egg') + and os.path.isdir(os.path.join(path, 'EGG-INFO')) ) def _set_parent_ns(packageName): |
