diff --git a/lite/package.json b/lite/package.json index 558b6052..9bed58d3 100644 --- a/lite/package.json +++ b/lite/package.json @@ -32,7 +32,7 @@ "build:dockerimage": "docker build -t mydockerimage --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) . ", "build:dockerimage_no_cache": "docker build -t mydockerimage --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --no-cache . ", "build:emscripten": "echo $(pwd) && docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) mydockerimage ./build.sh", - "copy-files": "copyfiles -u 1 src/xeus_kernel.wasm src/xeus_kernel.worker.js src/xeus_kernel.js src/python_data.js src/python_data.data lib", + "copy-files": "copyfiles -u 1 src/xpython_wasm.wasm src/xpython_wasm.worker.js src/xpython_wasm.js src/python_data.js src/python_data.data lib", "build:wasm": "jlpm run build:dockerimage && jlpm run build:emscripten", "build:wasm_no_cache": "jlpm run build:dockerimage_no_cache && jlpm run build:emscripten", "build": "jlpm run build:lib && jlpm run copy-files && jlpm run build:labextension:dev", diff --git a/lite/pyproject.toml b/lite/pyproject.toml index cf8cb18a..14d3fc28 100644 --- a/lite/pyproject.toml +++ b/lite/pyproject.toml @@ -14,4 +14,4 @@ build_cmd = "build:prod" npm = ["jlpm"] [tool.check-manifest] -ignore = ["jupyterlite_xeus_python/labextension/**", "yarn.lock", ".*", "package-lock.json", "Dockerfile", "src/xeus_python.worker.js", "src/xeus_kernel.js", "src/xeus_kernel.wasm", "*.sh"] +ignore = ["jupyterlite_xeus_python/labextension/**", "yarn.lock", ".*", "package-lock.json", "Dockerfile", "src/xeus_python.worker.js", "src/xpython_wasm.js", "src/xpython_wasm.wasm", "*.sh"] diff --git a/lite/setup.py b/lite/setup.py index daf388d5..39a55543 100644 --- a/lite/setup.py +++ b/lite/setup.py @@ -36,7 +36,7 @@ .replace("-alpha.", "a") .replace("-beta.", "b") .replace("-rc.", "rc") -) +) setup_args = dict( name=name, diff --git a/lite/src/worker.ts b/lite/src/worker.ts index 0be42dc2..cbb59359 100644 --- a/lite/src/worker.ts +++ b/lite/src/worker.ts @@ -14,7 +14,7 @@ globalThis.Module = {} // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore -import createXeusModule from './xeus_kernel.js'; +import createXeusModule from './xpython_wasm.js'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore // import populate from './python_data.js'; diff --git a/lite/webpack.config.js b/lite/webpack.config.js index 0827864f..28b10ed3 100644 --- a/lite/webpack.config.js +++ b/lite/webpack.config.js @@ -5,7 +5,7 @@ module.exports = { new CopyPlugin({ patterns: [ { - from: 'src/xeus_kernel.wasm', + from: 'src/xpython_wasm.wasm', to: '.' }, {