diff --git a/src/zc/buildout/buildout.py b/src/zc/buildout/buildout.py index 16db3d210370d27c5ffa81ef4c0853a3becdc372..32537cfc346e64109731b35837016bbf2a035505 100644 --- a/src/zc/buildout/buildout.py +++ b/src/zc/buildout/buildout.py @@ -472,7 +472,14 @@ class Buildout(DictMixin): # Now copy buildout and setuptools eggs, and record destination eggs: entries = [] options = self['buildout'] - for name in 'setuptools', 'zc.buildout': + distributions = ['setuptools', 'zc.buildout'] + try: + import slapos.libnetworkcache + except ImportError: + pass + else: + distributions.append('slapos.libnetworkcache') + for name in distributions: if [x for x in sys.argv if \ (name == 'setuptools' and \ re.match(r'^--setuptools-version(=|$)', x)) or \