Commit 40436edb authored by Jason R. Coombs's avatar Jason R. Coombs

Only detect a path as an unpacked egg if it also has an EGG-INFO directory. Fixes #462.

parent b6a3ccf9
......@@ -2,6 +2,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
----
......
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment