From 0af62aeb70ecc31d7ba6a789ff11ecf82c1e162d Mon Sep 17 00:00:00 2001 From: martinRenou Date: Mon, 15 Jan 2024 09:46:49 +0100 Subject: [PATCH] Update README and rebuild --- README.md | 7 ++++--- build-environment.yml | 2 +- environment.yml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 582feac..a25ea71 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [Voici](https://github.com/voila-dashboards/voici) deployed as a static site to GitHub Pages, for demo purposes. -It uses [jupyterlite-xeus-python](https://github.com/jupyterlite/xeus-python-kernel) as a default kernel with a pre-built Emscripten environment. +It uses [jupyterlite-xeus](https://github.com/jupyterlite/xeus) to build the Emscripten environment, including the **xeus-python** kernel and run dependencies. ## ✨ Try it in your browser ✨ @@ -26,13 +26,14 @@ For example, if you want to create a Voici deployment with NumPy and Matplotlib name: voici channels: - https://repo.mamba.pm/emscripten-forge - - https://repo.mamba.pm/conda-forge + - conda-forge dependencies: + - xeus-python - numpy - matplotlib ``` -Only ``no-arch`` packages from ``conda-forge`` and ``emscripten-forge`` can be installed. +Only ``no-arch`` packages from ``conda-forge`` and packages from ``emscripten-forge`` can be installed. - **How do I know if a package is ``no-arch`` on ``conda-forge``?** ``no-arch`` means that the package is OS-independent, usually pure-python packages are ``no-arch``. To check if your package is ``no-arch`` on ``conda-forge``, check if the "Platform" entry is "no-arch" in the https://beta.mamba.pm/channels/conda-forge?tab=packages page. If your package is not ``no-arch`` but is a pure Python package, then you should probably update the feedstock to turn your package into a ``no-arch`` one. ![](https://raw.githubusercontent.com/jupyterlite/xeus-python-demo/main/noarch.png) - **How do I know if my package is on ``emscripten-forge``?** You can see the list of packages pubished on ``emscripten-forge`` [here](https://beta.mamba.pm/channels/emscripten-forge?tab=packages). In case your package is missing, or it's not up-to-date, feel free to open an issue or a PR on https://github.com/emscripten-forge/recipes. diff --git a/build-environment.yml b/build-environment.yml index 99e1d97..f59858c 100644 --- a/build-environment.yml +++ b/build-environment.yml @@ -5,5 +5,5 @@ dependencies: - python - pip - pip: - - jupyterlite-xeus>=0.1,<0.2 + - jupyterlite-xeus>=0.1.2,<0.2 - voici>=0.5,<0.6 diff --git a/environment.yml b/environment.yml index be55901..13d689c 100644 --- a/environment.yml +++ b/environment.yml @@ -1,7 +1,7 @@ name: voici channels: - https://repo.mamba.pm/emscripten-forge - - https://repo.mamba.pm/conda-forge + - conda-forge dependencies: - xeus-python - pandas <2