Skip to content

Commit 0e20886

Browse files
authored
add conda-forge to installation instructions
Now that POT is in conda-forge (conda-forge/staged-recipes#3332 / https://github.com/conda-forge/pot-feedstock/), might as well put that in the installation instructions. Note that it's available on Windows too, and [this basic test](https://github.com/conda-forge/pot-feedstock/blob/master/recipe/run_test.py) at least runs.
1 parent e5ff4ea commit 0e20886

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,31 @@ Some demonstrations (both in Python and Jupyter Notebook format) are available i
2222

2323
## Installation
2424

25-
The Library has been tested on Linux and MacOSX. It requires a C++ compiler for using the EMD solver and rely on the following Python modules:
25+
The library has been tested on Linux and MacOSX. It requires a C++ compiler for using the EMD solver and relies on the following Python modules:
2626

2727
- Numpy (>=1.11)
2828
- Scipy (>=0.17)
2929
- Cython (>=0.23)
3030
- Matplotlib (>=1.5)
3131

32-
33-
Under debian based linux the dependencies can be installed with
32+
If you use the Anaconda python distribution, POT is available in [conda-forge](conda-forge.github.io). To install it and the required dependencies:
3433
```
35-
sudo apt-get install python-numpy python-scipy python-matplotlib cython
34+
conda install -c conda-forge pot
3635
```
3736

38-
To install the library, you can install it locally (after downloading it) on you machine using
37+
Otherwise, under Debian-based Linux the dependencies can be installed with:
3938
```
40-
python setup.py install --user # for user install (no root)
39+
sudo apt-get install python-numpy python-scipy python-matplotlib cython
4140
```
4241

43-
The toolbox is also available on PyPI with a possibly slightly older version. You can install it with:
42+
You can then install the toolbox through PyPI with:
4443
```
4544
pip install POT
4645
```
46+
or get the very latest version by downloading it and then running:
47+
```
48+
python setup.py install --user # for user install (no root)
49+
```
4750

4851
After a correct installation, you should be able to import the module without errors:
4952
```python

0 commit comments

Comments
 (0)