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
cd6f8d58
Commit
cd6f8d58
authored
Feb 16, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collapse common behavior
parent
e1bc6caa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ez_setup.py
ez_setup.py
+4
-3
No files found.
ez_setup.py
View file @
cd6f8d58
...
...
@@ -163,8 +163,8 @@ def use_setuptools(
# a suitable version is already installed
return
except
pkg_resources
.
DistributionNotFound
:
# no version of setuptools was found
return
_do_download
(
version
,
download_base
,
to_dir
,
download_delay
)
# no version of setuptools was found
; allow download
pass
except
pkg_resources
.
VersionConflict
as
VC_err
:
if
imported
:
# setuptools was imported prior to invocation of this function,
...
...
@@ -177,7 +177,8 @@ def use_setuptools(
# take precedence.
del
pkg_resources
_unload_pkg_resources
()
return
_do_download
(
version
,
download_base
,
to_dir
,
download_delay
)
return
_do_download
(
version
,
download_base
,
to_dir
,
download_delay
)
def
_unload_pkg_resources
():
...
...
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