Skip to content

Commit

Permalink
Nearly completed new tag, clean install
Browse files Browse the repository at this point in the history
  • Loading branch information
papamarkou committed Dec 6, 2020
1 parent 39479c9 commit b52ba5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions installation/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ $CONDABIN create -n $PKGNAME -y python=$PYVERSION
$CONDABIN init $(basename $SHELL)
$CONDABIN config --set auto_activate_base false

source $HOME/.bashrc

mkdir -p $PYPKGDIR
git -C $PYPKGDIR clone $PKGURL
$CONDABIN run -p $CONDAENV pip install -e $PYPKGDIR/$PKGNAME -r $PKGDEVREQS
Expand Down
10 changes: 4 additions & 6 deletions installation/gdev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ su - $METAUSER -c "mkdir -p $BINDIR"
su - $METAUSER -c "ln -s $CONDABIN $BINDIR"
su - $METAUSER -c "echo \"export PATH=$BINDIR:$PATH\" >> $BASEDIR/.bashrc"

su - $METAUSER -c "mkdir -p $PYPKGDIR;
cd $PYPKGDIR;
git clone $PKGURL;
cd $PKGNAME;
$CONDABIN run -p $CONDAENV python setup.py develop --user"
su - $METAUSER -c "mkdir -p $PYPKGDIR"
su - $METAUSER -c "git -C $PYPKGDIR clone $PKGURL"
su - $METAUSER -c "$CONDABIN run -p $CONDAENV pip install -e $PYPKGDIR/$PKGNAME -r $PKGDEVREQS"

rm $CONDASCRIPT
su - $METAUSER -c "rm $BASEDIR/$CONDASCRIPT"
4 changes: 2 additions & 2 deletions installation/gstable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export METAUSER='theodore'
export BASEDIR="/home/$METAUSER"
export BINDIR="$BASEDIR/bin"
export PKGNAME='eeyore'
export PYVERSION='3.6'
export PYVERSION='3.7'
export CONDADIR="$BASEDIR/opt/continuum/miniconda/miniconda3"
export CONDABIN="$CONDADIR/bin/conda"
export CONDASCRIPT='Miniconda3-latest-Linux-x86_64.sh'
Expand All @@ -29,4 +29,4 @@ su - $METAUSER -c "mkdir -p $BINDIR"
su - $METAUSER -c "ln -s $CONDABIN $BINDIR"
su - $METAUSER -c "echo \"export PATH=$BINDIR:$PATH\" >> $BASEDIR/.bashrc"

su - $METAUSER -c "rm $CONDASCRIPT"
su - $METAUSER -c "rm $BASEDIR/$CONDASCRIPT"
4 changes: 2 additions & 2 deletions installation/stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Start up script for setting up environment on Ubuntu 20.04 LTS

export PKGNAME='eeyore'
export PYVERSION='3.6'
export PYVERSION='3.7'
export CONDADIR="$HOME/opt/continuum/miniconda/miniconda3"
export CONDABIN="$CONDADIR/bin/conda"
export CONDASCRIPT='Miniconda3-latest-Linux-x86_64.sh'
Expand All @@ -22,4 +22,4 @@ $CONDABIN create -n $PKGNAME -y -c papamarkou -c pytorch -c conda-forge python=$
$CONDABIN init $(basename $SHELL)
$CONDABIN config --set auto_activate_base false

rm $CONDASCRIPT
rm $HOME/$CONDASCRIPT

0 comments on commit b52ba5d

Please sign in to comment.