Skip to content

Commit

Permalink
Rename the xeus-python entry
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed May 6, 2022
1 parent 62506fd commit 253d6e6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lite/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion lite/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
.replace("-alpha.", "a")
.replace("-beta.", "b")
.replace("-rc.", "rc")
)
)

setup_args = dict(
name=name,
Expand Down
2 changes: 1 addition & 1 deletion lite/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion lite/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
new CopyPlugin({
patterns: [
{
from: 'src/xeus_kernel.wasm',
from: 'src/xpython_wasm.wasm',
to: '.'
},
{
Expand Down

0 comments on commit 253d6e6

Please sign in to comment.