Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
5a79e918
Commit
5a79e918
authored
Dec 02, 2017
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Worked in the 38.2.3 version check in a safe location
parent
f76788c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+6
-2
No files found.
src/zc/buildout/easy_install.py
View file @
5a79e918
...
...
@@ -38,8 +38,12 @@ import zc.buildout
import
warnings
try
:
from
setuptools.wheel
import
Wheel
SETUPTOOLS_SUPPORTS_WHEELS
=
True
from
setuptools.wheel
import
Wheel
# This is the important import
from
setuptools
import
__version__
as
setuptools_version
# Now we need to check if we have at least 38.2.3 for namespace support.
SETUPTOOLS_SUPPORTS_WHEELS
=
(
pkg_resources
.
SetuptoolsVersion
(
setuptools_version
)
>=
pkg_resources
.
SetuptoolsVersion
(
'38.2.3'
))
except
ImportError
:
SETUPTOOLS_SUPPORTS_WHEELS
=
False
...
...
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