author | cavaliet |
Fri, 11 Apr 2014 10:58:36 +0200 | |
changeset 174 | f80f51958bad |
parent 171 | e809ae17472a |
child 223 | bb1d902e0f63 |
permissions | -rw-r--r-- |
0 | 1 |
import platform |
2 |
||
3 |
from lib_create_env import lib_generate_install_methods |
|
4 |
||
5 |
system_str = platform.system() |
|
6 |
||
7 |
||
8 |
INSTALLS = [ #(key,method, option_str, dict_extra_env) |
|
9 |
'LXML', |
|
10 |
'PSYCOPG2', |
|
13 | 11 |
#'MYSQL', |
0 | 12 |
'SOUTH', |
13 |
'PIL', |
|
14 |
'DJANGO', |
|
15 |
'DJANGO-EXTENSIONS', |
|
16 |
'DJANGO-REGISTRATION', |
|
171
e809ae17472a
V.2.12 : requires ldt v1.53, remove tagging, add taggit
cavaliet
parents:
108
diff
changeset
|
17 |
'DJANGO-TAGGIT', |
e809ae17472a
V.2.12 : requires ldt v1.53, remove tagging, add taggit
cavaliet
parents:
108
diff
changeset
|
18 |
'DJANGO-TAGGIT-TEMPLATETAGS', |
0 | 19 |
'HTTPLIB2', |
20 |
'OAUTH2', |
|
21 |
'SETUPTOOLS_HG', |
|
22 |
'DJANGO-OAUTH-PLUS', |
|
23 |
'OPENID', |
|
24 |
'DJANGO_OPENID_CONSUMER', |
|
25 |
'SOCIAL_AUTH', |
|
26 |
'DJANGO_GUARDIAN', |
|
27 |
'SORL_THUMBNAIL', |
|
28 |
'HAYSTACK', |
|
29 |
'REQUESTS', |
|
59 | 30 |
'SIMPLEJSON', |
0 | 31 |
'PYELASTICSEARCH', |
32 |
'WHOOSH', |
|
33 |
'MIMEPARSE', |
|
34 |
'SIX', |
|
35 |
'PYTHON-DATEUTIL', |
|
36 |
'PYYAML', |
|
37 |
'PYTHON-DIGEST', |
|
108 | 38 |
'DEFUSEDXML', |
0 | 39 |
'DJANGO-TASTYPIE', |
92
9262ac3a72c1
merge correction and add django-chunked-uploads dependency
ymh <ymh.work@gmail.com>
parents:
59
diff
changeset
|
40 |
'DJANGO-CHUNCKED-UPLOADS', |
0 | 41 |
] |
42 |
||
43 |
if system_str == "Linux": |
|
44 |
INSTALLS.insert(2, 'DISTRIBUTE') |
|
45 |
||
46 |
OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools'] |
|
47 |
if system_str != 'Linux': |
|
48 |
OPTIONS_TO_ADD.append('use_distribute') |
|
49 |
||
50 |
def generate_install_methods(path_locations, src_base, Logger, call_subprocess): |
|
51 |
return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD) |