Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
40436edb
Commit
40436edb
authored
Nov 22, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only detect a path as an unpacked egg if it also has an EGG-INFO directory. Fixes #462.
parent
b6a3ccf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
CHANGES.txt
CHANGES.txt
+7
-0
pkg_resources/__init__.py
pkg_resources/__init__.py
+1
-0
No files found.
CHANGES.txt
View file @
40436edb
...
...
@@ -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
----
...
...
pkg_resources/__init__.py
View file @
40436edb
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment