mirror of https://github.com/abinit/abipy.git
25 lines
907 B
Plaintext
Executable File
25 lines
907 B
Plaintext
Executable File
# https://github.com/binder-examples/jupyter-extension/blob/master/postBuild
|
|
|
|
#jupyter contrib nbextension install --user
|
|
#jupyter nbextension enable --py widgetsnbextension
|
|
#jupyter nbextension enable python-markdown/main
|
|
|
|
# Notebooks w/ extensions that auto-run code must be "trusted" to work the first time
|
|
#jupyter trust index.ipynb
|
|
|
|
# Install AbiPy scripts and configuration files.
|
|
#python setup.py install
|
|
python -c "import abipy"
|
|
if [ $? -ne 0 ]; then
|
|
echo "Installing abipy with pip"
|
|
#pip install abipy
|
|
pip install git+https://github.com/abinit/abipy.git@develop
|
|
fi
|
|
|
|
mkdir -p ${HOME}/.abinit/abipy
|
|
cd ${HOME}/.abinit/abipy
|
|
curl https://raw.githubusercontent.com/abinit/abipy/develop/abipy/data/managers/travis_scheduler.yml -o scheduler.yml
|
|
curl https://raw.githubusercontent.com/abinit/abipy/develop/abipy/data/managers/travis_manager.yml -o manager.yml
|
|
|
|
#./dev_scripts/pyclean.py .
|