Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit cc26d83

Browse files
authored
Get rid of the dockerfile and make a dev install in the docs (#104)
* Get rid of the dockerfile and make a dev install in the docs This allows us to try out xeus-python directly from readthedocs for each PR * Split the Python package into the Addon and the Build part
1 parent b61f799 commit cc26d83

12 files changed

+353
-329
lines changed

.github/workflows/build.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,8 @@ jobs:
4747
restore-keys: |
4848
yarn-
4949
50-
- name: Setup xeus-python build cache
51-
uses: actions/cache@v2
52-
with:
53-
path: |
54-
src/python_data.data
55-
src/python_data.js
56-
src/web_worker_kernel.ts
57-
src/worker.ts
58-
src/xpython_wasm.js
59-
src/xpython_wasm.wasm
60-
src/xpython_wasm.hash
61-
key: ${{ hashFiles('Dockerfile') }}
62-
6350
- name: Install dependencies
64-
run: python -m pip install -U jupyterlab~=3.1 check-manifest
51+
run: python -m pip install -U jupyterlab~=3.1 check-manifest typer empack
6552

6653
- name: Build the extension
6754
run: |

Dockerfile

-29
This file was deleted.

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include ts*.json
88
include yarn.lock
99
include webpack.config.js
1010
include worker.webpack.config.js
11-
include Dockerfile
11+
include build.js
1212
recursive-include tests *.py
1313

1414
graft share

build_xeus_python.js

-35
This file was deleted.

copy_output.sh

-15
This file was deleted.

docs/build-environment.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ channels:
44
- conda-forge
55

66
dependencies:
7-
- mamba
8-
- pydata-sphinx-theme
7+
- python=3.10
98
- pip
9+
- click
10+
- typer
11+
- pydata-sphinx-theme
12+
- yarn
13+
- jupyterlab
14+
- empack>=2.0.3
1015
- pip:
1116
- jupyterlite==0.1.0b16
1217
- jupyterlite-sphinx
13-
- jupyterlite-xeus-python==0.6.1
18+
- ..

environment.yml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ channels:
44
dependencies:
55
- python
66
- pip
7+
- traitlets
8+
- requests
9+
- typer
710
- pytest
811
- emsdk >=3.1.11
912
- empack >=2.0.2

0 commit comments

Comments
 (0)