| author | cavaliet |
| Wed, 01 Oct 2014 13:14:23 +0200 | |
| changeset 137 | 02e81a3fc99b |
| parent 65 | ac0c11fc869e |
| permissions | -rwxr-xr-x |
| 2 | 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', |
|
11 |
#'MYSQL', |
|
12 |
'SOUTH', |
|
13 |
'PIL', |
|
14 |
'DJANGO', |
|
15 |
'DJANGO-EXTENSIONS', |
|
16 |
'DJANGO-REGISTRATION', |
|
| 65 | 17 |
'DJANGO-TAGGIT', |
18 |
'DJANGO-TAGGIT-TEMPLATETAGS', |
|
| 2 | 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', |
|
30 |
'SIMPLEJSON', |
|
31 |
'PYELASTICSEARCH', |
|
32 |
'WHOOSH', |
|
33 |
'MIMEPARSE', |
|
34 |
'SIX', |
|
35 |
'PYTHON-DATEUTIL', |
|
36 |
'PYYAML', |
|
37 |
'PYTHON-DIGEST', |
|
38 |
'DEFUSEDXML', |
|
39 |
'DJANGO-TASTYPIE', |
|
40 |
'DJANGO-CHUNCKED-UPLOADS', |
|
| 31 | 41 |
'LDT', |
|
137
02e81a3fc99b
update venv to allow turtle and rdf export thanks to libadvene
cavaliet
parents:
65
diff
changeset
|
42 |
'SIMPLETAL', |
|
02e81a3fc99b
update venv to allow turtle and rdf export thanks to libadvene
cavaliet
parents:
65
diff
changeset
|
43 |
'RDFLIB', |
|
02e81a3fc99b
update venv to allow turtle and rdf export thanks to libadvene
cavaliet
parents:
65
diff
changeset
|
44 |
'ISODATE', |
|
02e81a3fc99b
update venv to allow turtle and rdf export thanks to libadvene
cavaliet
parents:
65
diff
changeset
|
45 |
'LIBADVENE' |
| 2 | 46 |
] |
47 |
||
48 |
if system_str == "Linux": |
|
49 |
INSTALLS.insert(2, 'DISTRIBUTE') |
|
50 |
||
51 |
OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools'] |
|
52 |
if system_str != 'Linux': |
|
53 |
OPTIONS_TO_ADD.append('use_distribute') |
|
54 |
||
55 |
def generate_install_methods(path_locations, src_base, Logger, call_subprocess): |
|
56 |
return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD) |