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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.buildout
Commits
7be57de6
Commit
7be57de6
authored
Jun 07, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around an easy_install bug that should be fixed in b3.
parent
378627cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+6
-0
No files found.
src/zc/buildout/easy_install.py
View file @
7be57de6
...
@@ -22,6 +22,7 @@ $Id$
...
@@ -22,6 +22,7 @@ $Id$
# XXX needs doctest
# XXX needs doctest
import
sys
import
setuptools.command.easy_install
import
setuptools.command.easy_install
import
pkg_resources
import
pkg_resources
import
setuptools.package_index
import
setuptools.package_index
...
@@ -45,6 +46,11 @@ def install(spec, dest, links=(), **kw):
...
@@ -45,6 +46,11 @@ def install(spec, dest, links=(), **kw):
)
)
easy
.
finalize_options
()
easy
.
finalize_options
()
# hack around easy_install bug
easy
.
local_index
=
pkg_resources
.
Environment
(
easy
.
shadow_path
+
sys
.
path
)
old_warn
=
distutils
.
log
.
warn
old_warn
=
distutils
.
log
.
warn
distutils
.
log
.
warn
=
lambda
*
a
,
**
k
:
None
distutils
.
log
.
warn
=
lambda
*
a
,
**
k
:
None
...
...
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