Skip to content

Commit bb527a7

Browse files
committed
Get rid of pyinvoke, don't manage environments ourselves
1 parent 16fba40 commit bb527a7

File tree

6 files changed

+5
-398
lines changed

6 files changed

+5
-398
lines changed

.binder/environment.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ channels:
22
- conda-forge
33
- nodefaults
44
dependencies:
5-
- invoke
6-
- mamba
7-
- packaging
8-
- pyyaml
95
# applications
106
- jupyterlab
117
- jupyter-collaboration

.binder/postBuild

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
set -ex
22

3-
# invoke r --env-name=notebook
4-
invoke demofiles
5-
invoke talk -t demo
3+
python build.py
4+
65
rm -rf demofiles
76
rm -rf notebooks
87
rm -rf narrative

.github/workflows/main.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ jobs:
2929
micromamba config list
3030
printenv | sort
3131
- run: |
32-
invoke r --env-name=jupyterlab-demo
3332
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=60 --stdout notebooks/Data.ipynb > /dev/null;
3433
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=60 --stdout notebooks/Fasta.ipynb > /dev/null;
3534
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=60 --stdout notebooks/R.ipynb > /dev/null;
36-
invoke demofiles
37-
invoke talk -t demo
38-
jupyter lab workspaces import .binder/workspace.json
39-
python -m jupyterlab.browser_check
40-
invoke clean
35+
python build.py

.github/workflows/update_env.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -13,84 +13,15 @@ generation user interface of Project Jupyter.
1313
The demo requires `mamba`, available as part of [Mambaforge](https://github.com/conda-forge/miniforge) and the package
1414
requirements are described in `environment.yml`
1515

16-
To install the environment and demofiles, we use [pyinvoke](http://pyinvoke.org). To install pyinvoke with `mamba` call:
17-
```bash
18-
mamba install -c conda-forge invoke packaging pyyaml
19-
```
20-
21-
### Create the environment
22-
23-
To create the conda environment with all the dependencies and jupyterlab extensions for the demo, run:
24-
25-
```bash
26-
invoke environment # optionally --env-name=my-env-name
27-
```
28-
29-
The default environment name is `jupyterlab-demo`.
30-
31-
To create the environment and remove previous installation, call:
32-
33-
```bash
34-
invoke environment --clean
35-
```
36-
37-
### Activate/deactivate the environment
38-
39-
To activate the conda environment, run:
40-
41-
```bash
42-
source activate jupyterlab-demo
43-
```
44-
45-
To deactivate the conda environment, run:
46-
47-
```bash
48-
source deactivate
49-
```
50-
51-
### Additional demo files
52-
53-
The demo includes files from a number of other repositories. To install these files,
54-
run:
55-
56-
```bash
57-
invoke demofiles
58-
```
59-
60-
To remove demofiles and download again all:
61-
```
62-
invoke demofiles --clean
63-
```
64-
65-
### R Language support
66-
67-
To add R language support, run:
68-
69-
```bash
70-
invoke r
71-
```
72-
73-
### Julia Language support
74-
75-
To add Julia language support follow the instructions [here](https://github.com/JuliaLang/IJulia.jl#installation).
76-
77-
78-
### Uninstalling
79-
80-
To uninstall the demofiles and enviornment, call:
81-
82-
```
83-
invoke clean
84-
```
16+
TODO: More installation instructions
8517

8618
# Demo guide
8719

8820
The basic outline of the JupyterLab demo is described in the file `jupyterlab.md`.
8921

90-
9122
# External Repositories
9223

93-
Our `invoke demofiles` clones repos from other authors. The details of these repos are as follows:
24+
Our `build.py` clones repos from other authors. The details of these repos are as follows:
9425

9526
| Name | Author |License |
9627
|---|---|---|

0 commit comments

Comments
 (0)