xeus icon indicating copy to clipboard operation
xeus copied to clipboard

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

Open MRYingLEE opened this issue 2 years ago • 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.

MRYingLEE avatar Oct 15 '23 06:10 MRYingLEE

I made this PR that documents my process. https://github.com/jupyterlite/xeus-python-demo/pull/45

paddymul avatar Oct 22 '24 13:10 paddymul