Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Build docs for 0.5.0 #42

Merged
merged 2 commits into from Jun 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 1 addition & 25 deletions docs/configuration.rst
Expand Up @@ -6,31 +6,7 @@ Configuration
Pre-installed packages
----------------------

xeus-python allows you to pre-install packages in the Python runtime.

Requirements
~~~~~~~~~~~~

This feature requires you to have at least ``conda``, `mamba <https://github.com/mamba-org/mamba>`_ or ``micromamba`` installed.

You also need to install ``empack``, this can be done by installing it from ``conda-forge``:

.. code::

conda install -c conda-forge empack

# OR

mamba install -c conda-forge empack

# OR

micromamba install -c conda-forge empack

Usage
~~~~~

You can pre-install packages by passing the ``XeusPythonEnv.packages`` CLI option to ``jupyter lite build``.
xeus-python allows you to pre-install packages in the Python runtime. You can pre-install packages by passing the ``XeusPythonEnv.packages`` CLI option to ``jupyter lite build``.

.. note::
This will automatically install any labextension that it founds, for example installing ipyleaflet will make ipyleaflet work without the need to manually install the jupyter-leaflet labextension.
Expand Down
3 changes: 1 addition & 2 deletions docs/environment.yml
Expand Up @@ -6,10 +6,9 @@ channels:
dependencies:
- mamba
- pydata-sphinx-theme
- empack
- pip

- pip:
- jupyterlite
- jupyterlite-sphinx
- jupyterlite-xeus-python==0.4.2
- jupyterlite-xeus-python>=0.5.0