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

Include Notebook API into lite kernel deployment #364

Merged
merged 15 commits into from
Sep 19, 2024
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ jobs:
create-args: >-
python=3.10
pip
empack=3
jupyterlite-core>=0.2.0,<0.3.0
jupyterlite-xeus>=0.1.2,<0.2

Expand All @@ -240,6 +241,7 @@ jobs:
run: |
set -eux
mkdir -p content && cp ../examples/test.jcad ./content
cp ../jupytercad_lab/dist/jupytercad*.whl jupytercad_lab-1.0.0-py3-none-any.whl
jupyter lite build --contents content --output-dir dist

- name: Upload github-pages artifact
Expand Down
7 changes: 7 additions & 0 deletions lite/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ channels:
- conda-forge
dependencies:
- xeus-python
- pydantic=2.7.4
- ypywidgets
- yjs-widgets
- comm
- pip:
- ./jupytercad_lab-1.0.0-py3-none-any.whl
- jupyter-shared-drive
3 changes: 2 additions & 1 deletion lite/jupyter-lite.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"appName": "My JupyterCAD App",
"disabledExtensions": ["@jupyter/collaboration-extension"]
"disabledExtensions": ["@jupyter/collaboration-extension"],
"signalingServers": ["https://flyio-signaling-server.fly.dev/"]
}
}
Loading