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

Commit

Permalink
Merge pull request #42 from martinRenou/docs_0.5.0
Browse files Browse the repository at this point in the history
Build docs for 0.5.0
  • Loading branch information
martinRenou committed Jun 28, 2022
2 parents e55ed71 + 1fc19da commit 8d9bc60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
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

0 comments on commit 8d9bc60

Please sign in to comment.