virtualenv/web/res/res_create_env.py
changeset 31 29caac899e1f
parent 6 28b44c3962e9
child 34 92f25438071d
equal deleted inserted replaced
27:daaafc916dc4 31:29caac899e1f
    25     'PYYAML',
    25     'PYYAML',
    26     'PYTHON-DIGEST',
    26     'PYTHON-DIGEST',
    27     'DJANGO-TASTYPIE',
    27     'DJANGO-TASTYPIE',
    28 ]
    28 ]
    29 
    29 
       
    30 if system_str != "Windows" and 'PIL' in INSTALLS:
       
    31     i = INSTALLS.index('PIL')
       
    32     INSTALLS.insert(i, 'ZLIB')
       
    33     INSTALLS.insert(i, 'LIBJPEG')
       
    34 
    30 if system_str == "Linux":
    35 if system_str == "Linux":
    31     INSTALLS.insert(2, 'DISTRIBUTE')
    36     INSTALLS.insert(2, 'DISTRIBUTE')
    32 
    37 
    33 OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools']
    38 OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools']
    34 if system_str != 'Linux':
    39 if system_str != 'Linux':