virtualenv/web/res/res_create_env.py
changeset 59 a06fab661ac4
parent 57 795f01224eef
child 65 e96c79ca2ebc
equal deleted inserted replaced
58:5c252fb36abb 59:a06fab661ac4
    19     ('PIL', 'easy_install', None, None), 
    19     ('PIL', 'easy_install', None, None), 
    20     ('DJANGO','pip', None, None),
    20     ('DJANGO','pip', None, None),
    21     ('DJANGO-EXTENSIONS', 'pip', None, None),
    21     ('DJANGO-EXTENSIONS', 'pip', None, None),
    22     ('DJANGO-REGISTRATION', 'easy_install', '-Z', None),
    22     ('DJANGO-REGISTRATION', 'easy_install', '-Z', None),
    23     ('DJANGO-TAGGING', 'pip', None, None),
    23     ('DJANGO-TAGGING', 'pip', None, None),
       
    24     ('DJANGO-PISTON', 'pip', None, None),
    24     ('HTTPLIB2', 'pip', None, None),
    25     ('HTTPLIB2', 'pip', None, None),
    25     ('OAUTH2', 'easy_install', None, None),
    26     ('OAUTH2', 'easy_install', None, None),
    26     ('DJANGO-OAUTH-PLUS', 'pip', None, None),
    27     ('DJANGO-OAUTH-PLUS', 'pip', None, None),
    27     ('OPENID', 'pip', None, None),
    28     ('OPENID', 'pip', None, None),
    28     ('DJANGO_OPENID_CONSUMER', 'pip', None, None),
    29     ('DJANGO_OPENID_CONSUMER', 'pip', None, None),
    32 if system_str == 'Windows':
    33 if system_str == 'Windows':
    33     INSTALLS.extend([
    34     INSTALLS.extend([
    34     ('JCC','easy_install',None,None),
    35     ('JCC','easy_install',None,None),
    35     ('PSYCOPG2',install_psycopg2,None,None),
    36     ('PSYCOPG2',install_psycopg2,None,None),
    36     ('PYLUCENE','easy_install',None,None),
    37     ('PYLUCENE','easy_install',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),
       
    39     ])
    38     ])
    40 else:
    39 else:
    41     INSTALLS.extend([
    40     INSTALLS.extend([
    42     ('PYLUCENE',install_pylucene,None,None),
    41     ('PYLUCENE',install_pylucene,None,None),
    43     ('PSYCOPG2', 'pip', None, None),
    42     ('PSYCOPG2', 'pip', None, None),
    44     ('DJANGO-PISTON', 'pip', None, None),
       
    45     ])
    43     ])
    46 
    44 
    47 if system_str == "Darwin":
    45 if system_str == "Darwin":
    48     INSTALLS.extend([
    46     INSTALLS.extend([
    49     ('LXML', 'pip', None, {'STATIC_DEPS': 'true', 'LIBXML2_VERSION': '2.7.8', 'LIBXSLT_VERSION': '1.1.26'}),
    47     ('LXML', 'pip', None, {'STATIC_DEPS': 'true', 'LIBXML2_VERSION': '2.7.8', 'LIBXSLT_VERSION': '1.1.26'}),
    50     ])
    48     ])
    51 else:
    49 else:
    52     INSTALLS.extend([
    50     INSTALLS.extend([
    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
    51     ('LXML', 'easy_install', None, None),
    54     #('LXML', 'easy_install', None, None),
       
    55     ])
    52     ])
    56 
    53 
    57 
    54 
    58 def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
    55 def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
    59     return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS)
    56     return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS)