From 94ac9777dc9f48186a74d79d22160def838828ba Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sat, 11 Jan 2025 10:01:49 +0000 Subject: [PATCH 1/6] Add instructions to readme.md so users can use jupyter lite contents flag --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb143784..779d7f94 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,8 @@ To build Jupyter Lite with this kernel without creating a website you can execut ```bash micromamba create -n xeus-lite-host jupyterlite-core micromamba activate xeus-lite-host -python -m pip install jupyterlite-xeus -jupyter lite build --XeusAddon.prefix=$PREFIX +python -m pip install jupyterlite-xeus jupyter_server +jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents ../notebooks/xeus-cpp-lite-demo.ipynb --output-dir dist ``` We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s) From b733d4bbbcf36c4a192df44d57bd51584588da01 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sat, 11 Jan 2025 10:03:27 +0000 Subject: [PATCH 2/6] Add instructions to online docs so users can use jupyter lite contents flag --- docs/source/InstallationAndUsage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/InstallationAndUsage.rst b/docs/source/InstallationAndUsage.rst index e24cb9b4..612d7d7c 100644 --- a/docs/source/InstallationAndUsage.rst +++ b/docs/source/InstallationAndUsage.rst @@ -85,8 +85,8 @@ To build Jupyter Lite with this kernel without creating a website you can execut .. code-block:: bash micromamba create -n xeus-lite-host jupyterlite-core micromamba activate xeus-lite-host - python -m pip install jupyterlite-xeus - jupyter lite build --XeusAddon.prefix=$PREFIX + python -m pip install jupyterlite-xeus jupyter_server + jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents ../notebooks/xeus-cpp-lite-demo.ipynb --output-dir dist We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s) we want to include in our application. As of now this would contain all important files like Standard Headers, From 9d7a9f988789d361c68de0f9a776889fae6c851a Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sat, 11 Jan 2025 10:56:46 +0000 Subject: [PATCH 3/6] Remove accidentally added reference to output dir --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 779d7f94..66ed5034 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ To build Jupyter Lite with this kernel without creating a website you can execut micromamba create -n xeus-lite-host jupyterlite-core micromamba activate xeus-lite-host python -m pip install jupyterlite-xeus jupyter_server -jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents ../notebooks/xeus-cpp-lite-demo.ipynb --output-dir dist +jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents ../notebooks/xeus-cpp-lite-demo.ipynb ``` We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s) From 4c8d2f78629ceaf1e8d2f623d6d1b2e8635425b7 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sat, 11 Jan 2025 10:57:21 +0000 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 66ed5034..49a69814 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ To build Jupyter Lite with this kernel without creating a website you can execut micromamba create -n xeus-lite-host jupyterlite-core micromamba activate xeus-lite-host python -m pip install jupyterlite-xeus jupyter_server -jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents ../notebooks/xeus-cpp-lite-demo.ipynb +jupyter lite build --XeusAddon.prefix=$PREFIX --contents ../notebooks/xeus-cpp-lite-demo.ipynb ``` We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s) From e2c21613c25192d63db0f274299c0432632e207f Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sat, 11 Jan 2025 10:59:34 +0000 Subject: [PATCH 5/6] Update InstallationAndUsage.rst --- docs/source/InstallationAndUsage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/InstallationAndUsage.rst b/docs/source/InstallationAndUsage.rst index 612d7d7c..cdd9c82d 100644 --- a/docs/source/InstallationAndUsage.rst +++ b/docs/source/InstallationAndUsage.rst @@ -86,7 +86,7 @@ To build Jupyter Lite with this kernel without creating a website you can execut micromamba create -n xeus-lite-host jupyterlite-core micromamba activate xeus-lite-host python -m pip install jupyterlite-xeus jupyter_server - jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents ../notebooks/xeus-cpp-lite-demo.ipynb --output-dir dist + jupyter lite build --XeusAddon.prefix=$PREFIX --contents ../notebooks/xeus-cpp-lite-demo.ipynb We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s) we want to include in our application. As of now this would contain all important files like Standard Headers, From 662452262605be1426b328b9601b1189df776a7a Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:16:49 +0000 Subject: [PATCH 6/6] Address PR comment --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 49a69814..8965b230 100644 --- a/README.md +++ b/README.md @@ -99,9 +99,8 @@ emmake make install To build Jupyter Lite with this kernel without creating a website you can execute the following ```bash -micromamba create -n xeus-lite-host jupyterlite-core +micromamba create -n xeus-lite-host jupyterlite-xeus jupyterlite-core jupyterlab notebook micromamba activate xeus-lite-host -python -m pip install jupyterlite-xeus jupyter_server jupyter lite build --XeusAddon.prefix=$PREFIX --contents ../notebooks/xeus-cpp-lite-demo.ipynb ```