Commit 4d5ad1f6 authored by Łukasz Nowak's avatar Łukasz Nowak

Merge branch 'bug_778748'

parents 06a6cec7 a6982cdf
...@@ -438,7 +438,12 @@ class Buildout(UserDict.DictMixin): ...@@ -438,7 +438,12 @@ class Buildout(UserDict.DictMixin):
entries = [] entries = []
copy_list = ['setuptools', 'zc.buildout'] copy_list = ['setuptools', 'zc.buildout']
if LIBNETWORKCACHE_ENABLED: if LIBNETWORKCACHE_ENABLED:
copy_list.append('slapos.libnetworkcache') copy_list.append('slapos.libnetworkcache')
networkcache_dist = ws.find(pkg_resources.Requirement.parse(
'slapos.libnetworkcache'))
for requirement in [q.key for q in networkcache_dist.requires()]:
if requirement not in copy_list:
copy_list.append(requirement)
for name in copy_list: for name in copy_list:
r = pkg_resources.Requirement.parse(name) r = pkg_resources.Requirement.parse(name)
dist = ws.find(r) dist = ws.find(r)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment