2 ##############################################################################
3 # Copyright (c) 2016 ZTE Corporation.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
15 # start syslog for loghander
16 service rsyslog restart && echo "syslog start successfully"
18 # install requirements for parser
19 pip install -r ${parser_repos_dir}/parser/tosca2heat/tosca-parser/requirements.txt
20 pip install -r ${parser_repos_dir}/parser/tosca2heat/heat-translator/requirements.txt
22 # uninstall other tosca-parser and heat-translator for parser
23 pip uninstall -y tosca-parser
24 pip uninstall -y heat-translator
27 cd ${parser_repos_dir}/parser/tosca2heat/tosca-parser && python setup.py install
28 cd ${parser_repos_dir}/parser/tosca2heat/heat-translator && python setup.py install