Last active
December 3, 2015 20:32
-
-
Save klauer/0b9135c19c519260c089 to your computer and use it in GitHub Desktop.
installing the hkl library with conda
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
#!/bin/bash | |
# base | |
conda create -n hkl_test python=3.4 ipython | |
source activate hkl_test | |
# ophyd-related | |
conda install numpy pyepics prettytable six | |
# the gobject-introspection hkl library itself | |
conda install -c https://conda.anaconda.org/klauer hkl | |
# notebook example stuff | |
conda install jupyter pandas matplotlib | |
git clone https://github.com/klauer/ophyd -b hkl ophyd_hkl | |
cd ophyd_hkl | |
python setup.py develop | |
cd examples | |
# The HKL library sets certain environment variables and requires you | |
# to source activate post-installation: | |
source deactivate | |
source activate hkl_test | |
# Then start the jupyterhub notebook | |
jupyter-notebook | |
## After installation, if you want to re-run the notebook, you only have to: | |
# source activate hkl_test | |
# cd ophyd/examples | |
# jupyter-notebook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment