Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainCorlay committed Apr 13, 2021
1 parent f21198f commit 26a7359
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ notebook by selecting the **xeus C++14** kernel in the *new* dropdown.

## Installation

We provide a package for the conda package manager.
We provide a package for the mamba (or conda) package manager.

- Installing `xwidgets` and the C++ kernel

```bash
conda install xeus-cling xwidgets -c conda-forge
mamba install xeus-cling xwidgets -c conda-forge
```

Then, the front-end extension must be installed for either the classic notebook
Expand All @@ -42,7 +42,7 @@ or JupyterLab.
- Installing the extension for the classic notebook

```
conda install widgetsnbextension -c conda-forge
mamba install widgetsnbextension -c conda-forge
```

- Installing the JupyterLab extension
Expand Down Expand Up @@ -80,7 +80,7 @@ http://xwidgets.readthedocs.io/

## Dependencies

All the dependencies of xwidgets are available for the conda package manager.
All the dependencies of xwidgets are available for the mamba (or conda) package manager.

| `xwidgets` | `widgetsnbextension` | `xtl` | `xproperty` | `xeus` | `nlohmann_json` |
|------------|-----------------------|-----------------|----------------|-----------------|-----------------|
Expand Down
11 changes: 4 additions & 7 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,17 @@
Installation
============

xwidgets is a header-only library but depends on some traditional libraries that need to be installed.
On Linux, installation of the dependencies can be done through the package manager, anaconda or manual compilation.

.. image:: conda.svg

Using the conda package
-----------------------
Using the conda-forge package
-----------------------------

A package for xwidgets is available on the conda package manager.
A package for xwidgets is available on the mamba (or conda) package manager.
The package will also pull all the dependencies.

.. code::
conda install xwidgets -c conda-forge
mamba install xwidgets -c conda-forge
.. image:: cmake.svg

Expand Down

0 comments on commit 26a7359

Please sign in to comment.