| author | ymh <ymh.work@gmail.com> |
| Sat, 01 Nov 2014 17:42:33 +0100 | |
| changeset 345 | 7bc38c7d6cf9 |
| parent 295 | af29252631ac |
| child 442 | 3d54acec55d6 |
| permissions | -rw-r--r-- |
| 0 | 1 |
import platform |
2 |
||
|
243
1f2840354865
correct filter on tag completion to avoid tags that are not translated
ymh <ymh.work@gmail.com>
parents:
229
diff
changeset
|
3 |
from lib_create_env import lib_generate_install_methods |
| 0 | 4 |
|
5 |
system_str = platform.system() |
|
6 |
||
| 345 | 7 |
INSTALLS = [ # (key,method, option_str, dict_extra_env) |
8 |
{'requirement':'requirements.txt', |
|
9 |
'install': {'option_str': None, |
|
10 |
'dict_extra_env': {'STATIC_DEPS':'true', 'LIBXML2_VERSION': '2.9.2', 'LIBXSLT_VERSION': '1.1.28', 'LIBICONV_VERSION': '1.14'} if system_str == 'Darwin' else None}}, |
|
11 |
# 'LXML', |
|
12 |
# 'PSYCOPG2', |
|
13 |
# 'PIL', |
|
14 |
# 'DJANGO', |
|
15 |
# 'DJANGO-EXTENSIONS', |
|
16 |
# 'REGISTRATION', |
|
17 |
# 'SOUTH', |
|
18 |
# 'HTTPLIB2', |
|
19 |
# 'HAYSTACK', |
|
20 |
# 'WHOOSH', |
|
21 |
# 'WIKITOOLS', |
|
22 |
# 'ISODATE', |
|
23 |
# 'RDFLIB', |
|
24 |
# 'SPARQLWRAPPER', |
|
25 |
# 'PYYAML', |
|
26 |
# 'REQUESTS', |
|
27 |
# 'PYELASTICSEARCH', |
|
28 |
# 'EASYTHUMBNAIL', |
|
|
243
1f2840354865
correct filter on tag completion to avoid tags that are not translated
ymh <ymh.work@gmail.com>
parents:
229
diff
changeset
|
29 |
] |
| 0 | 30 |
|
|
243
1f2840354865
correct filter on tag completion to avoid tags that are not translated
ymh <ymh.work@gmail.com>
parents:
229
diff
changeset
|
31 |
if system_str == 'Windows': |
|
1f2840354865
correct filter on tag completion to avoid tags that are not translated
ymh <ymh.work@gmail.com>
parents:
229
diff
changeset
|
32 |
INSTALLS.append('PYSTEMMER') |
| 0 | 33 |
|
| 345 | 34 |
OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools'] |
| 0 | 35 |
|
| 345 | 36 |
def generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess): |
37 |
return lib_generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD) |