jupyterlite/xeus

Please add more detail and examples in installing a local Python package

Opened this issue · 1 comments

In https://xeus-python-kernel.readthedocs.io/en/latest/configuration.html, it says that: "You can also install a local Python package, this is very practical if you want to embed a jupyterlite deployment in your Package documentation, allowing to test the very latest dev version:

name: xeus-python-kernel
channels:
  - https://repo.mamba.pm/emscripten-forge
  - conda-forge
dependencies:
  - pip:
      - .."

If I want to install a wheel named "a.wheel", it seems the following YAML works

dependencies:
  - pip:
      - "./a.wheel"

To install wheels of a folder named b, it seems the following YAML does not work.

dependencies:
  - pip:
      - "./b/*.wheel"

I am wondering what is the right way to do so.

I made this PR that documents my process.
jupyterlite/xeus-python-demo#45