virtualenv/web/res/res_create_env.py
changeset 677 fe9cfbb91909
parent 675 38ed996a23d8
child 682 11be1c2aae5a
equal deleted inserted replaced
676:1bbf2fe38a32 677:fe9cfbb91909
     5 system_str = platform.system()
     5 system_str = platform.system()
     6 
     6 
     7 
     7 
     8 INSTALLS = [ #(key,method, option_str, dict_extra_env)
     8 INSTALLS = [ #(key,method, option_str, dict_extra_env)
     9     'PYLUCENE',
     9     'PYLUCENE',
       
    10     'LXML',
    10     'PSYCOPG2',
    11     'PSYCOPG2',
    11     'SOUTH',
    12     'SOUTH',
    12     'PIL', 
    13     'PIL', 
    13     'DJANGO',
    14     'DJANGO',
    14     'DJANGO-EXTENSIONS',
    15     'DJANGO-EXTENSIONS',
    21     'OPENID',
    22     'OPENID',
    22     'DJANGO_OPENID_CONSUMER',
    23     'DJANGO_OPENID_CONSUMER',
    23     'SOCIAL_AUTH',
    24     'SOCIAL_AUTH',
    24     'DJANGO_GUARDIAN',
    25     'DJANGO_GUARDIAN',
    25     'SORL_THUMBNAIL',
    26     'SORL_THUMBNAIL',
    26     'LXML',
       
    27 ]
    27 ]
    28 
    28 
    29 if system_str == 'Windows':
    29 if system_str == 'Windows':
    30     INSTALLS.insert(0, 'JCC')
    30     INSTALLS.insert(0, 'JCC')
       
    31 
       
    32 if system_str == "Linux":
       
    33     INSTALLS.insert(2, 'DISTRIBUTE')
    31 
    34 
    32 OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools']
    35 OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools']
    33 if system_str != 'Linux':
    36 if system_str != 'Linux':
    34     OPTIONS_TO_ADD.append('use_distribute')
    37     OPTIONS_TO_ADD.append('use_distribute')
    35 
    38