Skip to content

Commit

Permalink
Add Nix shell and requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
simeoncarstens committed Oct 28, 2020
1 parent 1ac48ed commit 1a101fa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mcmc-intro/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jupyter
ipython
scipy
matplotlib
numpy
17 changes: 17 additions & 0 deletions mcmc-intro/shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
let
jupyter = import (builtins.fetchGit {
url = https://github.com/tweag/jupyterWith;
rev = "";
}) {};

iPython = jupyter.kernels.iPythonWith {
name = "python";
packages = p: with p; [ numpy matplotlib scipy ];
};

jupyterEnvironment =
jupyter.jupyterlabWith {
kernels = [ iPython ];
};
in
jupyterEnvironment.env

0 comments on commit 1a101fa

Please sign in to comment.