Skip to content

Commit

Permalink
reflects changing of repo for uvcdat
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Sep 19, 2016
1 parent ba1c3e4 commit 4a84b1e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion .bash_local
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ setpy() {
source activate ${pth}
}

iP() {
iPuvcdat() {
if [ $# == 0 ]; then
PKG=vcs
else
Expand All @@ -184,6 +184,27 @@ iP() {
cd ${where}
}

iP() {
if [ $# == 0 ]; then
PKG=vcs
else
PKG=$1
fi
if [ $# == 2 ]; then
CMD=spb
else
CMD='python setup.py install'
fi
if [ $PKG == "vcs" ]; then
CMD=$CMD" --old-and-unmanageable"
fi
where=$(pwd)
cd $(dirname $(dirname $(readlink ${HOME}/.bash_local)))
cd ${PKG}
${CMD}
cd ${where}
}

spb() {
good_python=`which python`
sudo ${good_python} setup.py install
Expand Down
2 changes: 1 addition & 1 deletion bin/clean_conda.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/usr/bin/env python
#!/usr/bin/env python
import subprocess
import shlex

Expand Down

0 comments on commit 4a84b1e

Please sign in to comment.