Skip to content

Commit

Permalink
Merge pull request #3540 from jasongrout/jlitecontents
Browse files Browse the repository at this point in the history
Fix jupyterlite_contents
  • Loading branch information
vidartf authored Aug 17, 2022
2 parents 1c00fdc + c483387 commit 62ad153
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ dependencies:
- sympy
- pip:
- jupyterlite==0.1.0b11
- jupyterlite-sphinx>=0.7.0
- jupyterlite-sphinx~=0.7.2
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ scikit-image
scikit-learn
sympy
jupyterlite==0.1.0b11
jupyterlite-sphinx>=0.7.0
jupyterlite-sphinx~=0.7.2
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,12 @@ def on_config_inited(*args):
IPYW = ROOT / "python/ipywidgets"
subprocess.check_call([sys.executable, "-m", "build"], cwd=str(IPYW))

WIDG = ROOT / "python/widgetsnbextension"
subprocess.check_call([sys.executable, "-m", "build"], cwd=str(WIDG))

JLW = ROOT / "python/jupyterlab_widgets"
subprocess.check_call(["jupyter", "labextension", "build", "."], cwd=str(JLW))
subprocess.check_call([sys.executable, "-m", "build"], cwd=str(JLW))

def setup(app):
app.connect("config-inited", on_config_inited)
3 changes: 2 additions & 1 deletion docs/source/jupyter_lite_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"ignore_sys_prefix": true,
"piplite_urls": [
"../../python/ipywidgets/dist",
"../../python/widgetsnbextension/dist",
"../../python/jupyterlab_widgets/dist",
"https://files.pythonhosted.org/packages/py2.py3/a/asttokens/asttokens-2.0.5-py2.py3-none-any.whl",
"https://files.pythonhosted.org/packages/py2.py3/b/backcall/backcall-0.2.0-py2.py3-none-any.whl",
"https://files.pythonhosted.org/packages/py2.py3/b/bqplot/bqplot-0.12.33-py2.py3-none-any.whl",
Expand Down Expand Up @@ -68,7 +70,6 @@
"https://files.pythonhosted.org/packages/py3/t/traitlets/traitlets-5.1.1-py3-none-any.whl",
"https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.1.1-py3-none-any.whl",
"https://files.pythonhosted.org/packages/py3/v/vega-datasets/vega_datasets-0.9.0-py3-none-any.whl",
"https://files.pythonhosted.org/packages/py3/w/widgetsnbextension/widgetsnbextension-4.0.0rc1-py3-none-any.whl",
"https://files.pythonhosted.org/packages/py3/x/xyzservices/xyzservices-2022.2.0-py3-none-any.whl"
]
}
Expand Down

0 comments on commit 62ad153

Please sign in to comment.