Skip to content

Commit fb440fa

Browse files
committed
Added conda-forge installation
1 parent 6876ef5 commit fb440fa

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

docs/installation.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,33 @@
11
# Installation
22

3-
## Stable release
3+
## Install from PyPI
44

5-
To install segment-geospatial, run this command in your terminal:
5+
**segment-geospatial** is available on [PyPI](https://pypi.org/project/segment-geospatial/). To install **segment-geospatial**, run this command in your terminal:
66

7-
```
7+
```bash
88
pip install segment-geospatial
99
```
1010

11-
This is the preferred method to install segment-geospatial, as it will always install the most recent stable release.
12-
13-
If you don't have [pip](https://pip.pypa.io) installed, this [Python installation guide](http://docs.python-guide.org/en/latest/starting/installation/) can guide you through the process.
11+
## Install from conda-forge
1412

15-
## From sources
13+
**segment-geospatial** is also available on [conda-forge](https://anaconda.org/conda-forge/segment-geospatial). If you have
14+
[Anaconda](https://www.anaconda.com/distribution/#download-section) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) installed on your computer, you can install segment-geospatial using the following command:
1615

17-
The sources for segment-geospatial can be downloaded from the Github repo.
16+
```bash
17+
conda install -c conda-forge segment-geospatial
18+
```
1819

19-
You can clone the public repository:
20+
It is recommended to create a fresh conda environment for **segment-geospatial**. The following command will create a new conda environment named `geo` and install **segment-geospatial** and its dependencies:
2021

22+
```bash
23+
conda install -n base mamba -c conda-forge
24+
mamba create -n geo segment-geospatial python -c conda-forge
2125
```
22-
git clone git://github.com/giswqs/segment-geospatial
26+
27+
## Install from GitHub
28+
29+
To install the development version from GitHub using [Git](https://git-scm.com/), run the following command in your terminal:
30+
31+
```bash
32+
pip install git+https://github.com/opengeos/segment-geospatial
2333
```

0 commit comments

Comments
 (0)