Skip to content

Commit

Permalink
Adding Python3.5 HTTP dependencies
Browse files Browse the repository at this point in the history
Adding Python3.5 HTTP dependencies
  • Loading branch information
Catherine Garabedian authored Feb 1, 2019
2 parents 1498ae6 + 1c51317 commit ce2683c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion base/script/privileged-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
add-apt-repository -y ppa:george-edison55/cmake-3.x
apt-get update

apt-get upgrade -y python2.7 ncurses-dev bc
apt-get upgrade -y python2.7 python3.5 ncurses-dev bc
apt-get install -y build-essential libssl-dev libffi-dev libhidapi-hidraw0 gdb
apt-get install -y python-setuptools build-essential ninja-build python-dev libffi-dev libssl-dev
apt-get install -y gcc-arm-embedded
Expand Down Expand Up @@ -36,6 +36,9 @@ easy_install pip
# Forcibly controlling version until this is resolved
pip install pip==9.0.3

# Set up pip for Python3.5
apt-get install -y python3-pip

#sqlite
apt-get install -y sqlite3 libsqlite3-dev

Expand Down
4 changes: 2 additions & 2 deletions kubos-dev/script/non-privileged-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ mv /home/vagrant/cargo_config /home/vagrant/.cargo/config
/home/vagrant/.cargo/bin/cargo install --path /home/vagrant/.kubos/kubos/clients/uart-comms-client/

# Install app-api python module
cd /home/vagrant/.kubos/kubos/apis/app-api/python && pip install .
cd /home/vagrant/.kubos/kubos/apis/app-api/python && python3 -m pip install .

# Install kubos-service python module
cd /home/vagrant/.kubos/kubos/libs/kubos-service && pip install .
cd /home/vagrant/.kubos/kubos/libs/kubos-service && python3 -m pip install .

kubos update --tab-completion

Expand Down
6 changes: 6 additions & 0 deletions kubos-dev/script/privileged-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ pip install idna==2.6
pip install toml
pip install graphene

python3 -m pip install flask
python3 -m pip install flask_graphql
python3 -m pip install graphene
python3 -m pip install mock
python3 -m pip install toml

mkdir -p /usr/local/lib/yotta_modules
mkdir -p /usr/local/lib/yotta_targets
mkdir -p /home/vagrant/.kubos
Expand Down

0 comments on commit ce2683c

Please sign in to comment.