Commit cedd1320 authored by Łukasz Nowak's avatar Łukasz Nowak

Transmit all keys from options.

parent c752d39d
...@@ -88,10 +88,13 @@ class Eggs(object): ...@@ -88,10 +88,13 @@ class Eggs(object):
kw = {} kw = {}
if 'unzip' in options: if 'unzip' in options:
kw['always_unzip'] = options.query_bool('unzip', None) kw['always_unzip'] = options.query_bool('unzip', None)
if 'sha-cache' in b_options: for option_key, kw_key in (
kw['download_cache_url'] = b_options.get('sha-cache') ('__networkcache__download-cache-url', 'download_cache_url'),
if 'sha-dir' in b_options: ('__networkcache__download-dir-url', 'download_dir_url'),
kw['download_dir_url'] = b_options.get('sha-dir') ('__networkcache__upload-cache-url', 'upload_cache_url'),
('__networkcache__upload-dir-url', 'upload_dir_url')):
if option_key in b_options:
kw[kw_key] = b_options['option_key']
ws = zc.buildout.easy_install.install( ws = zc.buildout.easy_install.install(
distributions, options['eggs-directory'], distributions, options['eggs-directory'],
......
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