-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jmchilton/master
Small tweaks
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
To install [BioBlend](http://bioblend.readthedocs.org) in a virtualenv and start the [IPython notebook](http://ipython.org/notebook.html), run `start_tutorial.sh` . | ||
|
||
Accompanying Slides [https://docs.google.com/presentation/d/12wts6oaUH4TLKYMYBzCZPYI3Jf1wzl1ecK0IeCVkJ4s/pub?start=false&loop=false&delayms=3000](https://docs.google.com/presentation/d/12wts6oaUH4TLKYMYBzCZPYI3Jf1wzl1ecK0IeCVkJ4s/pub?start=false&loop=false&delayms=3000). | ||
[Accompanying slides](https://docs.google.com/presentation/d/12wts6oaUH4TLKYMYBzCZPYI3Jf1wzl1ecK0IeCVkJ4s/pub?start=false&loop=false&delayms=3000). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# Stop on problems. | ||
set -e | ||
|
||
cd `dirname $0` | ||
|
||
test -z "$VIRTUAL_ENV" || deactivate | ||
# Target git master using BIOBLEND_TARGET=git+git://github.com/galaxyproject/bioblend.git@master start_tutorial.sh | ||
BIOBLEND_TARGET="${BIOBLEND_TARGET:-bioblend}" | ||
|
||
test -z "$VIRTUAL_ENV" || deactivate || true | ||
virtualenv .venv && . .venv/bin/activate | ||
python -c 'import sys; sys.version_info >= (2, 7, 9) or sys.exit(1)' || pip install --upgrade --force-reinstall requests[security] | ||
pip install --upgrade bioblend | ||
pip install --upgrade "$BIOBLEND_TARGET" | ||
pip install ipython[all] | ||
ipython notebook |