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

Transmit all keys from options.

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