virtualenv/web/res/res_create_env.py
changeset 57 795f01224eef
parent 50 0d59e0522d36
child 59 a06fab661ac4
equal deleted inserted replaced
56:125fc6df230d 57:795f01224eef
    16 INSTALLS.extend([ #(key,method, option_str, dict_extra_env)
    16 INSTALLS.extend([ #(key,method, option_str, dict_extra_env)
    17     ('SETUPTOOLS-HG', 'pip', None, None), 
    17     ('SETUPTOOLS-HG', 'pip', None, None), 
    18     ('MYSQL', 'pip', None, None),
    18     ('MYSQL', 'pip', None, None),
    19     ('PIL', 'easy_install', None, None), 
    19     ('PIL', 'easy_install', None, None), 
    20     ('DJANGO','pip', None, None),
    20     ('DJANGO','pip', None, None),
    21     ('JOGGING','pip', None, None),
       
    22     ('DJANGO-EXTENSIONS', 'pip', None, None),
    21     ('DJANGO-EXTENSIONS', 'pip', None, None),
    23     ('DJANGO-REGISTRATION', 'easy_install', '-Z', None),
    22     ('DJANGO-REGISTRATION', 'easy_install', '-Z', None),
    24     ('DJANGO-TAGGING', 'pip', None, None),
    23     ('DJANGO-TAGGING', 'pip', None, None),
    25     ('DJANGO-PISTON', 'pip', None, None),
       
    26     ('HTTPLIB2', 'pip', None, None),
    24     ('HTTPLIB2', 'pip', None, None),
    27     ('OAUTH2', 'easy_install', None, None),
    25     ('OAUTH2', 'easy_install', None, None),
    28     ('DJANGO-OAUTH-PLUS', 'pip', None, None),
    26     ('DJANGO-OAUTH-PLUS', 'pip', None, None),
       
    27     ('OPENID', 'pip', None, None),
       
    28     ('DJANGO_OPENID_CONSUMER', 'pip', None, None),
       
    29     ('SOCIAL_AUTH', 'easy_install', None, None),
    29 ])
    30 ])
    30 
    31 
    31 if system_str == 'Windows':
    32 if system_str == 'Windows':
    32     INSTALLS.extend([
    33     INSTALLS.extend([
    33     ('JCC','easy_install',None,None),
    34     ('JCC','easy_install',None,None),
       
    35     ('PSYCOPG2',install_psycopg2,None,None),
    34     ('PYLUCENE','easy_install',None,None),
    36     ('PYLUCENE','easy_install',None,None),
    35     ('PSYCOPG2',install_psycopg2,None,None),
    37     # We have to install piston after and manually with pip install django-piston-0.2.2-modified.tar.gz, after having launched the virtualenv
       
    38     #('DJANGO-PISTON', 'pip', None, None),
    36     ])
    39     ])
    37 else:
    40 else:
    38     INSTALLS.extend([
    41     INSTALLS.extend([
    39     ('PYLUCENE',install_pylucene,None,None),
    42     ('PYLUCENE',install_pylucene,None,None),
    40     ('PSYCOPG2', 'pip', None, None),
    43     ('PSYCOPG2', 'pip', None, None),
       
    44     ('DJANGO-PISTON', 'pip', None, None),
    41     ])
    45     ])
    42 
    46 
    43 if system_str == "Darwin":
    47 if system_str == "Darwin":
    44     INSTALLS.extend([
    48     INSTALLS.extend([
    45     ('LXML', 'pip', None, {'STATIC_DEPS': 'true', 'LIBXML2_VERSION': '2.7.8', 'LIBXSLT_VERSION': '1.1.26'}),
    49     ('LXML', 'pip', None, {'STATIC_DEPS': 'true', 'LIBXML2_VERSION': '2.7.8', 'LIBXSLT_VERSION': '1.1.26'}),
    46     ])
    50     ])
    47 else:
    51 else:
    48     INSTALLS.extend([
    52     INSTALLS.extend([
    49     ('LXML', 'pip', None, None),
    53     # We have to install lxml after and manually with easy_install lxml-2.2.2-py2.6-win32.egg, after having launched the virtualenv
       
    54     #('LXML', 'easy_install', None, None),
    50     ])
    55     ])
    51 
    56 
    52 
    57 
    53 def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
    58 def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
    54     return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS)
    59     return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS)