You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-27Lines changed: 43 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,64 +27,79 @@ IMDClient is bound by a [Code of Conduct](https://github.com/becksteinlab/imdrea
27
27
28
28
### Installation
29
29
30
-
IMDClient is available via PyPi and can be installed with pip:
31
-
```bash
30
+
#### Install via mamba (recommended)
31
+
To install the latest release of IMDClient from conda-forge:
32
+
33
+
```
34
+
mamba install -c conda-forge imdclient
35
+
```
36
+
37
+
#### Install via pip
38
+
To install the latest release of IMDClient from PyPI:
39
+
40
+
```
32
41
pip install imdclient
33
42
```
34
43
35
-
To build IMDClient from source,
36
-
we highly recommend using virtual environments.
37
-
If possible, we strongly recommend that you use
38
-
[Anaconda](https://docs.conda.io/en/latest/) as your package manager.
39
-
Below we provide instructions both for `conda` and
40
-
for `pip`.
44
+
---
45
+
46
+
### Building from Source
47
+
To build IMDClient from source, we highly recommend using virtual environments.
48
+
If possible, we recommend that you use [mamba](https://mamba.readthedocs.io/en/latest/) as your package manager through [miniforge](https://github.com/conda-forge/miniforge). (You can substitute `conda` for `mamba` in the commands below if you prefer.)
41
49
42
-
#### With conda
50
+
Below we provide instructions both for `mamba` and for `pip`.
43
51
44
-
Ensure that you have [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html) installed.
52
+
#### Source build with mamba
53
+
1. Ensure you have [mamba](https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html) installed.
45
54
46
-
Create a virtual environment and activate it:
55
+
2.Create and activate a new environment:
47
56
48
57
```
49
-
conda create --name imdclient
50
-
conda activate imdclient
58
+
mamba create --name imdclient
59
+
mamba activate imdclient
51
60
```
52
61
53
-
<!--Install the development and documentation dependencies:
62
+
3. (Recommended) Install all dependencies using the provided environment YAML files for a clean and reproducible environment:
Copy file name to clipboardExpand all lines: docs/source/getting_started.rst
+48-17Lines changed: 48 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,37 +4,68 @@ Getting Started
4
4
Installation
5
5
############
6
6
7
-
To build imdclient from source, we highly recommend using virtual environments.
8
-
If possible, we strongly recommend that you use
9
-
`Anaconda <https://docs.conda.io/en/latest/>`_ as your package manager.
10
-
Below we provide instructions both for installing into a `conda` environment.
7
+
Install via mamba (recommended)
8
+
-------------------------------
11
9
12
-
With conda
13
-
----------
10
+
To install the latest release of imdclient from conda-forge::
14
11
15
-
Ensure that you have `conda <https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html>`_ installed.
12
+
mamba install -c conda-forge imdclient
16
13
17
-
Create a virtual environment and activate it::
14
+
Install via pip
15
+
---------------
18
16
19
-
conda create --name imdclient
20
-
conda activate imdclient
17
+
To install the latest release of imdclient from PyPI::
18
+
19
+
pip install imdclient
20
+
21
+
Building from Source
22
+
####################
23
+
24
+
We highly recommend using virtual environments to source-build IMDClient. If possible, we recommend that you use `mamba <https://mamba.readthedocs.io/en/latest/>`_ as your package manager through `miniforge <https://github.com/conda-forge/miniforge>`_.
25
+
26
+
Source build with mamba
27
+
-----------------------
28
+
29
+
Ensure that you have `mamba <https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html>`_ installed.
30
+
31
+
Create and activate a new environment::
32
+
33
+
mamba create --name imdclient
34
+
mamba activate imdclient
35
+
36
+
(Recommended) Install all dependencies using the provided environment YAML files for a clean and reproducible environment::
0 commit comments