diff options
-rwxr-xr-x | install_dependencies.sh | 19 | ||||
-rw-r--r-- | requirements.freeze.txt | 9 | ||||
-rw-r--r-- | requirements.txt | 8 |
3 files changed, 17 insertions, 19 deletions
diff --git a/install_dependencies.sh b/install_dependencies.sh index fcd3a42..1a4c6a2 100755 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -86,21 +86,4 @@ if [ $? -ne 0 ]; then $SUDO rm get-pip.py fi -while read module -do - $SUDO pip install $module - if [ $? -ne 0 ]; then - echo "Pip install failed for" $module - exit 1 - fi -done <<EOM -pep8 -fs -pyyaml -sandboxlib -requests -jsonschema -bottle -cherrypy -riemann-client -EOM +$SUDO pip install -r requirements.txt diff --git a/requirements.freeze.txt b/requirements.freeze.txt new file mode 100644 index 0000000..e3956ac --- /dev/null +++ b/requirements.freeze.txt @@ -0,0 +1,9 @@ +PyYAML==3.12 +requests==2.11.1 +sandboxlib==0.3.1 +pep8==1.7.0 +jsonschema==2.5.1 +bottle==0.12.1 +cherrypy==8.1.2 +riemann-client==6.3.0 +fs==0.5.0 diff --git a/requirements.txt b/requirements.txt index fb30271..5e618c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,9 @@ PyYAML requests -sandboxlib>=0.3.1 +sandboxlib +pep8 +jsonschema +bottle +cherrypy +riemann-client +fs |