sbin/virtualenv/create_python_env.py
changeset 47 699be5c7b4ac
parent 37 cec4b9fc8997
child 60 a8ad7ebf5902
equal deleted inserted replaced
46:857830e09b0d 47:699be5c7b4ac
   232                         filter_stdout=filter_python_develop,
   232                         filter_stdout=filter_python_develop,
   233                         show_stdout=True)
   233                         show_stdout=True)
   234         
   234         
   235         
   235         
   236         NORMAL_INSTALL = [ #(key,method, option_str, extra_env)
   236         NORMAL_INSTALL = [ #(key,method, option_str, extra_env)
   237             ('LXML', 'easy_install', None, {'STATIC_DEPS': 'true'}),
   237             #('LXML', 'easy_install', None, {'STATIC_DEPS': 'true'}),
   238             ('PSYCOPG2', 'pip', None, None),
   238             ('PSYCOPG2', 'pip', None, None),
   239             ('MYSQL', 'pip', None, None),
   239             ('MYSQL', 'pip', None, None),
   240             ('PIL', 'pip', None, None), 
   240             ('PIL', 'pip', None, None), 
   241             ('FOURSUITE_XML','easy_install', None, None), 
   241             ('FOURSUITE_XML','easy_install', None, None), 
   242             ('DJANGO','pip', None, None),
   242             ('DJANGO','pip', None, None),
   243             ('DJANGO-EXTENSIONS', 'pip', None, None),
   243             ('DJANGO-EXTENSIONS', 'pip', None, None),
   244             ('DJANGO-REGISTRATION', 'easy_install', '-Z', None),
   244             ('DJANGO-REGISTRATION', 'easy_install', '-Z', None),
   245             ]
   245             ]
       
   246             
       
   247         if system_str == "Darwin":
       
   248             NORMAL_INSTALL.append(('LXML', 'easy_install', None, {'STATIC_DEPS': 'true'}))
       
   249         else:
       
   250             NORMAL_INSTALL.append(('LXML', 'easy_install', None, None))
   246         
   251         
   247             
   252             
   248         for key, method, option_str, extra_env in NORMAL_INSTALL:
   253         for key, method, option_str, extra_env in NORMAL_INSTALL:
   249             if key not in ignore_packages:
   254             if key not in ignore_packages:
   250                 normal_install(key, method, option_str, extra_env, res_source_key, home_dir, tmp_dir)
   255                 normal_install(key, method, option_str, extra_env, res_source_key, home_dir, tmp_dir)