Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More JupyterLite updates #209

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
- name: Install the dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install -r requirements-jupyterlite.txt
- name: Build the JupyterLite site
run: |
jupyter lite build --contents notebooks
jupyter lite build
- name: Upload (dist)
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Tutorial, SciPy 2022

[![lite-badge](https://jupyterlite.rtfd.io/en/latest/_static/badge.svg)](https://jupyter-widgets.github.io/tutorial)

# https://github.com/jupyter-widgets/tutorial

# Installation
Expand Down
29 changes: 29 additions & 0 deletions jupyter_lite_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"LiteBuildConfig": {
"contents": ["notebooks"],
"XeusPythonEnv": {
"packages": [
"bqplot",
"branca",
"ipycanvas",
"ipycytoscape",
"ipydatagrid",
"ipyevents",
"ipygany",
"ipyleaflet",
"ipympl",
"ipytree",
"ipyvolume",
"ipyvuetify",
"ipywidgets",
"mpl-interactions",
"numpy",
"pandas",
"pythreejs",
"pyvista",
"requests",
"sidecar"
]
}
}
}
15 changes: 7 additions & 8 deletions repl/jupyter-lite.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"disabledExtensions": [
"jupyterlab-kernel-spy",
"@jupyterlite/javascript-kernel-extension"
]
}
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"disabledExtensions": [
"jupyterlab-kernel-spy",
"@jupyterlite/javascript-kernel-extension"
]
}
}
2 changes: 2 additions & 0 deletions requirements-jupyterlite.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jupyterlite==0.1.0b11
jupyterlite-xeus-python
10 changes: 3 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ipyvolume==0.6.0a8
ipyvuetify==1.8.2
ipywidgets==7.7.1
jupyterlab==3.4
jupyterlab-language-pack-fr-FR
jupyterlab-language-pack-zh-CN
jupyterlab_github
mpl-interactions==0.22.0
numpy
orjson==3.7.7
Expand All @@ -24,10 +27,3 @@ scipy
sidecar==0.5.1
voila==0.3.5
vtk==9.1.0

jupyterlab-language-pack-fr-FR
jupyterlab-language-pack-zh-CN
jupyterlab_miami_nights
jupyterlite==0.1.0b11
theme-darcula
jupyterlab_github