| author | ymh <ymh.work@gmail.com> |
| Fri, 13 Apr 2018 15:41:00 +0200 | |
| branch | documentation |
| changeset 697 | 7cb2daf6da35 |
| parent 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 |
||
| 442 | 7 |
|
| 345 | 8 |
INSTALLS = [ # (key,method, option_str, dict_extra_env) |
9 |
{'requirement':'requirements.txt', |
|
10 |
'install': {'option_str': None, |
|
11 |
'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}}, |
|
12 |
# 'LXML', |
|
13 |
# 'PSYCOPG2', |
|
14 |
# 'PIL', |
|
15 |
# 'DJANGO', |
|
16 |
# 'DJANGO-EXTENSIONS', |
|
17 |
# 'REGISTRATION', |
|
18 |
# 'SOUTH', |
|
19 |
# 'HTTPLIB2', |
|
20 |
# 'HAYSTACK', |
|
21 |
# 'WHOOSH', |
|
22 |
# 'WIKITOOLS', |
|
23 |
# 'ISODATE', |
|
24 |
# 'RDFLIB', |
|
25 |
# 'SPARQLWRAPPER', |
|
26 |
# 'PYYAML', |
|
27 |
# 'REQUESTS', |
|
28 |
# 'PYELASTICSEARCH', |
|
29 |
# 'EASYTHUMBNAIL', |
|
| 442 | 30 |
'PKGCONFIG', |
31 |
'SQLITE', |
|
32 |
'UNIXODBC', |
|
33 |
'RAPTOR2', |
|
34 |
'RASQAL', |
|
35 |
'REDLAND', |
|
36 |
'REDLAND_BINDINGS', |
|
|
243
1f2840354865
correct filter on tag completion to avoid tags that are not translated
ymh <ymh.work@gmail.com>
parents:
229
diff
changeset
|
37 |
] |
| 0 | 38 |
|
| 442 | 39 |
OPTIONS_TO_ADD = {'type_install': 'local', 'unzip_setuptools': True} |
| 0 | 40 |
|
| 345 | 41 |
def generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess): |
42 |
return lib_generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD) |