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
315cd94d
Commit
315cd94d
authored
Aug 01, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorganize imports
parent
a509a879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
setuptools/archive_util.py
setuptools/archive_util.py
+7
-6
No files found.
setuptools/archive_util.py
View file @
315cd94d
"""Utilities for extracting common archive formats"""
__all__
=
[
"unpack_archive"
,
"unpack_zipfile"
,
"unpack_tarfile"
,
"default_filter"
,
"UnrecognizedFormat"
,
"extraction_drivers"
,
"unpack_directory"
,
]
import
zipfile
import
tarfile
import
os
...
...
@@ -13,9 +7,16 @@ import shutil
import
posixpath
import
contextlib
from
distutils.errors
import
DistutilsError
from
pkg_resources
import
ensure_directory
,
ContextualZipFile
__all__
=
[
"unpack_archive"
,
"unpack_zipfile"
,
"unpack_tarfile"
,
"default_filter"
,
"UnrecognizedFormat"
,
"extraction_drivers"
,
"unpack_directory"
,
]
class
UnrecognizedFormat
(
DistutilsError
):
"""Couldn't recognize the archive type"""
...
...
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