Permalink
Browse files

Installation script by Marcus Breese

  • Loading branch information...
yarden committed Feb 2, 2013
1 parent 31b8529 commit 250950c39bc695b3b1d053cc9ed24711105dc79c
Showing with 29 additions and 1 deletion.
  1. +29 −0 install.sh
  2. +0 −1 requirements.txt
View
@@ -0,0 +1,29 @@
+##
+## Installation script relevant only for users who want
+## By Marcus Breese
+##
+#!/usr/bin/env bash
+VIRTUALENV=`which virtualenv-2.7`
+if [ "$VIRTUALENV" == "" ]; then
+ VIRTUALENV=`which virtualenv-2.6`
+fi
+if [ "$VIRTUALENV" == "" ]; then
+ VIRTUALENV=`which virtualenv`
+fi
+if [ "$VIRTUALENV" == "" ]; then
+ echo "Missing virtualenv!"
+ exit 1
+fi
+
+if [ ! -e env ]; then
+ echo "Initializing virtualenv folder (env)"
+ $VIRTUALENV env
+fi
+. env/bin/activate
+python setup.py install --prefix env
+pip install numpy
+pip install -r requirements.txt
+
+#
+# If you're on a Mac, and matplotlib won't install, try this:
+# LDFLAGS="-L/usr/X11/lib" CFLAGS="-I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15" pip install matplotlib
View
@@ -1,5 +1,4 @@
numpy
scipy
-simplejson
pysam
matplotlib

0 comments on commit 250950c

Please sign in to comment.