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
33e77c0d
Commit
33e77c0d
authored
Jul 04, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Plain Diff
Merge another fix for regressions brought about by #375.
--HG-- branch : distribute
parents
132ef152
9b6dfd8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
CHANGES.txt
CHANGES.txt
+8
-0
pkg_resources.py
pkg_resources.py
+2
-1
No files found.
CHANGES.txt
View file @
33e77c0d
...
...
@@ -2,6 +2,14 @@
CHANGES
=======
------
0.6.49
------
* Move warning check in ``get_cache_path`` to follow the directory creation
to avoid errors when the cache path does not yet exist. Fixes the error
reported in #375.
------
0.6.48
------
...
...
pkg_resources.py
View file @
33e77c0d
...
...
@@ -989,13 +989,14 @@ variable to point to an accessible directory.
extract, as it tracks the generated names for possible cleanup later.
"""
extract_path = self.extraction_path or get_default_cache()
self._warn_unsafe_extraction_path(extract_path)
target_path = os.path.join(extract_path, archive_name+'
-
tmp
', *names)
try:
_bypass_ensure_directory(target_path)
except:
self.extraction_error()
self._warn_unsafe_extraction_path(extract_path)
self.cached_files[target_path] = 1
return target_path
...
...
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