Skip to content

Instantly share code, notes, and snippets.

@npinto
Created February 13, 2012 18:45
Show Gist options
  • Select an option

  • Save npinto/1818999 to your computer and use it in GitHub Desktop.

Select an option

Save npinto/1818999 to your computer and use it in GitHub Desktop.
boots
#!/bin/bash
PJT=$HOME/venv/hongmajaj_ht_vs_neurons
set -e
set -x
test ! -d ${PJT}
mkdir -p ${PJT}
virtualenv ${PJT}
source ${PJT}/bin/activate
pip install -r requirements.txt
# ----------------------------------------------------------------------------
# -- dependencies under development (using git submodules)
# ----------------------------------------------------------------------------
# -- dldata
(cd external/dldata && python setup.py develop)
# -- pythor3
(cd external/pythor3 && python setup.py develop)
# -- genson
(cd external/genson && python setup.py develop)
@npinto
Copy link
Copy Markdown
Author

npinto commented Feb 13, 2012

requirements.txt was obtained with:


pip install nose
pip install ipython

pip install numpy
pip install scipy

pip install scikit-learn
pip install PIL

# -- pytables
pip install numexpr
pip install cython
pip install tables

# -- matplotlib
pip install -vUI http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.tar.gz

and then running pip freeze > requirements.txt and editing the version numbers when necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment