github.com/myafeier/fabric@v1.0.1-0.20170722181825-3a4b1f2bce86/scripts/install_behave.sh (about)

     1  #!/bin/bash
     2  #
     3  # Copyright IBM Corp. All Rights Reserved.
     4  #
     5  # SPDX-License-Identifier: Apache-2.0
     6  #
     7  
     8  
     9  #
    10  # This script is used on Debian based linux distros.
    11  # (i.e., linux that supports the apt packaging manager.)
    12  #
    13  
    14  # Update system
    15  apt-get update -qq
    16  
    17  # Install Python, pip, behave, nose
    18  #
    19  # install python-dev and libyaml-dev to get compiled speedups
    20  apt-get install --yes python-dev
    21  apt-get install --yes libyaml-dev
    22  
    23  apt-get install --yes python-setuptools
    24  apt-get install --yes python-pip
    25  apt-get install --yes build-essential
    26  pip install --upgrade pip
    27  pip install behave
    28  pip install nose
    29  
    30  # updater-server, update-engine, and update-service-common dependencies (for running locally)
    31  pip install -I flask==0.10.1 python-dateutil==2.2 pytz==2014.3 pyyaml==3.10 couchdb==1.0 flask-cors==2.0.1 requests==2.4.3 pyOpenSSL==16.2.0 pysha3==1.0b1
    32  
    33  # Python grpc package for behave tests
    34  # Required to update six for grpcio
    35  pip install --ignore-installed six
    36  pip install --upgrade 'grpcio==0.13.1'
    37  
    38  # Pip packages required for some behave tests
    39  pip install ecdsa python-slugify b3j0f.aop
    40  pip install google
    41  pip install protobuf
    42  pip install pyyaml
    43  pip install pykafka
    44  
    45  # install ruby and apiaryio
    46  #apt-get install --yes ruby ruby-dev gcc
    47  #gem install apiaryio
    48  
    49  # Install Tcl prerequisites for busywork
    50  apt-get install --yes tcl tclx tcllib
    51  
    52  # Install NPM for the SDK
    53  apt-get install --yes npm