# HG changeset patch # User ymh # Date 1355706277 -3600 # Node ID 2123324cca5aa73cf8f3413c08277a0cf29060b4 # Parent 32f0a519cc7af750815bce70004fcb1d8b75dd0a add TMPDIR to env variuables whn building virtualenv diff -r 32f0a519cc7a -r 2123324cca5a sbin/sync/config.py.tmpl --- a/sbin/sync/config.py.tmpl Thu Dec 13 17:43:48 2012 +0100 +++ b/sbin/sync/config.py.tmpl Mon Dec 17 02:04:37 2012 +0100 @@ -5,7 +5,7 @@ env.web_group = 'www-data' env.folders = ['log', 'static/media'] -env.repos = {'ldt' : "/Users/ymh/dev/workspace/platform", 'web' : "/Users/ymh/dev/workspace/platform_web" } +env.repos = {'ldt': "/Users/ymh/dev/workspace/platform", 'web': "/Users/ymh/dev/workspace/platform_web", 'hashcut': "/Users/ymh/dev/workspace/hashcut" } env.base_export_path = "~/tmp" env.export_prefix = "platform" diff -r 32f0a519cc7a -r 2123324cca5a virtualenv/res/lib/lib_create_env.py --- a/virtualenv/res/lib/lib_create_env.py Thu Dec 13 17:43:48 2012 +0100 +++ b/virtualenv/res/lib/lib_create_env.py Mon Dec 17 02:04:37 2012 +0100 @@ -319,6 +319,8 @@ method = install_options.get('method', default_install_options['method']) option_str = install_options.get('option_str', default_install_options['option_str']) extra_env = install_options.get('dict_extra_env', default_install_options['dict_extra_env']) + if 'TMPDIR' not in extra_env: + extra_env['TMPDIR'] = tmp_dir #isinstance(lst, (list, tuple)) if key not in ignore_packages: if callable(method):