diff --git a/installer/construct.yaml b/installer/construct.yaml new file mode 100644 index 0000000..096c168 --- /dev/null +++ b/installer/construct.yaml @@ -0,0 +1,12 @@ +name: TheLittlestJupyterHub +version: 0.1 + +channels: + - http://repo.continuum.io/pkgs/free/ + - https://conda.anaconda.org/conda-forge + +specs: + - python 3.6 + - conda + +post_install: post-install.bash diff --git a/installer/post-install.bash b/installer/post-install.bash new file mode 100755 index 0000000..cc5bf77 --- /dev/null +++ b/installer/post-install.bash @@ -0,0 +1,10 @@ +#!/usr/bin/bash +set -euo pipefail + +# Run by the installer after the hub environment has been set up. + +export PATH=${PREFIX}/bin:$PATH + +pip install --no-cache-dir -e /home/yuvipanda/code/littlest-jupyterhub + +python3 -m tljh.installer