[bbafc7]: / ecg / examples / cinc17 / entry / setup.sh

Download this file

53 lines (47 with data), 1.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#! /bin/bash
#
# file: setup.sh
#
# This bash script performs any setup necessary in order to test your
# entry. It is run only once, before running any other code belonging
# to your entry.
set -e
set -o pipefail
# challenge system has not enough space in /tmp, apparently
export TMPDIR=$HOME/temp
mkdir -p $TMPDIR
virtualenv -p python2.7 myenv
source myenv/bin/activate
pip install --upgrade packages/setuptools-39.2.0.zip
pip install --upgrade packages/wheel-0.31.1.tar.gz
pip install --upgrade packages/pip-10.0.1.tar.gz
(cd packages;
pip install \
absl-py-0.2.2.tar.gz \
astor-0.6.2-py2.py3-none-any.whl \
backports.weakref-1.0.post1-py2.py3-none-any.whl \
bleach-1.5.0-py2.py3-none-any.whl \
enum34-1.1.6-py2-none-any.whl \
funcsigs-1.0.2-py2.py3-none-any.whl \
futures-3.2.0-py2-none-any.whl \
gast-0.2.0.tar.gz \
grpcio-1.12.1-cp27-cp27mu-manylinux1_x86_64.whl \
h5py-2.8.0rc1-cp27-cp27mu-manylinux1_x86_64.whl \
html5lib-0.9999999.tar.gz \
Keras-2.1.6-py2.py3-none-any.whl \
linecache2-1.0.0-py2.py3-none-any.whl \
Markdown-2.6.11-py2.py3-none-any.whl \
mock-2.0.0-py2.py3-none-any.whl \
numpy-1.14.3-cp27-cp27mu-manylinux1_x86_64.whl \
pbr-4.0.4-py2.py3-none-any.whl \
protobuf-3.5.2.post1-cp27-cp27mu-manylinux1_x86_64.whl \
PyYAML-3.12.tar.gz \
scipy-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl \
six-1.11.0-py2.py3-none-any.whl \
tensorboard-1.8.0-py2-none-any.whl \
tensorflow-1.8.0-cp27-cp27mu-manylinux1_x86_64.whl \
termcolor-1.1.0.tar.gz \
tqdm-4.23.4-py2.py3-none-any.whl \
traceback2-1.4.0-py2.py3-none-any.whl \
unittest2-1.1.0-py2.py3-none-any.whl \
Werkzeug-0.14.1-py2.py3-none-any.whl)