Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-python-testing-cabal-mock
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-python-testing-cabal-mock
Commits
e3d65802
Commit
e3d65802
authored
9 years ago
by
Robert Collins
Browse files
Options
Downloads
Patches
Plain Diff
Closes #279: setuptools.version is too new.
parent
0cba1baa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
1 addition
and
1 deletion
setup.py
+
1
−
1
View file @
e3d65802
...
@@ -7,7 +7,7 @@ import sys
...
@@ -7,7 +7,7 @@ import sys
# Setuptools 17.1 is required, and setup_requires cannot upgrade setuptools
# Setuptools 17.1 is required, and setup_requires cannot upgrade setuptools
# in-place, nor trigger the use of a newer version. Abort cleanly up-front.
# in-place, nor trigger the use of a newer version. Abort cleanly up-front.
setuptools_required
=
StrictVersion
(
"
17.1
"
)
setuptools_required
=
StrictVersion
(
"
17.1
"
)
setuptools_installed
=
StrictVersion
(
setuptools
.
version
.
__version__
)
setuptools_installed
=
StrictVersion
(
setuptools
.
__version__
)
if
setuptools_installed
<
setuptools_required
:
if
setuptools_installed
<
setuptools_required
:
sys
.
stderr
.
write
(
sys
.
stderr
.
write
(
"
mock requires setuptools>=17.1. Aborting installation
\n
"
)
"
mock requires setuptools>=17.1. Aborting installation
\n
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment