Skip to content

Instantly share code, notes, and snippets.

@corebug
Created September 16, 2015 13:30
Show Gist options
  • Save corebug/8acc6a3d85bdc703196c to your computer and use it in GitHub Desktop.
Save corebug/8acc6a3d85bdc703196c to your computer and use it in GitHub Desktop.
tiger-analytics.yml
---
- name: install openssl-devel package
sudo: yes
yum:
name: openssl-devel
state: latest
- name: install Development Tools
sudo: yes
yum:
name: "@Develpment tools"
update_cache: yes
state: present
- name: install gcc
sudo: yes
yum:
name: gcc-c++
state: latest
- name: install blas
sudo: yes
yum:
name: blas
state: latest
- name: install mpmath
sudo: yes
pip:
name: mpmath
state: latest
tags:
- tiger-analytics
- name: fetch Sympy from GitHub
git:
repo: https://github.com/sympy/sympy.git
dest: /home/centos/sympy
clone: yes
tags:
- tiger-analytics
- name: install Sympy from sources
sudo: yes
command: /usr/bin/python /home/centos/sympy/setup.py install
args:
chdir: /home/centos/sympy
tags:
- tiger-analytics
- name: install TigerAnalytics dependencies
sudo: yes
yum:
name: "{{ item }}"
state: latest
with_items:
- numpy
- scipy
- python-matplotlib
- ipython
- python-pandas
- python-nose
tags:
- tiger-analytics
- name: install TigerAnalytics Python modules
sudo: yes
pip:
name: "{{ item }}"
state: latest
with_items:
- pip
- setuptools
- httplib2
- simplejson
- config
- requests
- google-api-python-client
- scikit-learn
- nltk
- feedparser
- beautifulsoup4
- Flask
- Flask-Login
tags:
- tiger-analytics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment